Yihua Zhang's Projects
Converting our Crwn-Clothing application over to a progressive web application.
A small application showing how to write a custom hook to help us fetch data
A CRM that can take, modify, display and delete data from user input
The elevator programming game!
pablum
Using FullCalendar jQuery plugin(http://arshaw.com/fullcalendar/) with Rails backend. You can create, edit, delete, reschedule, resize events.
An example of a react project using functionally generated reducers
The final code for our lesson on building your first gatsby blog!
Gatsby starter for creating a blog
We are starting our Graphql implementation lesson! In this lesson, we are starting from a state of our application where we don't have sagas but are leveraging redux for local state storage.
We have converted over a few components to leverage the apollo clients local storage capabilities, use this project as the starting point for converting the remaining components over to using Apollo-clients local storage!
The final version of our application after converting it to leverage apollo-client for handling local state. *One thing to note is that in checkout-item.container we use something new, the compose function and the graphql function we get from react-apollo to handle multiple mutations!
A small project that demonstrates how higher order components work at a basic level
In this repo you will find the sample project where we dive deeper into the nuances of how hooks work, particularly in the context of the React render/rerender cycle.
HoverCards is a chrome extension that lets you see what's behind links from youtube, twitter, reddit, soundcloud, imgur, & instagram — all with out ever leaving the web page you're currently on.
Coding practice for Inception
A
A quick test of javascript promises using the skyprep api
Buttons with built-in loading indicators.
a basic ruby class generated from test-first-teaching
Getting started with Create React App
Adding email/password sign up authentication for firebase, as a result we need to store our user objects in the database.
Finally we update our sign-in component with our email/password sign in.
We have added redux to our application so we can leverage all the benefits that come with uni-directional data flow. Instead of the prop drilling we would have to do in order to pass our new user object down deeper into our component trees from our app, we can now just connect those components directly to our redux store where we store all our data.
Let's update our app so that after a user signs-in they are redirected to the home page, also if a user is signed into our application, we don't want them to be able to access the signinandsignup page.
We now need to create our cart feature in our application. To start, we'll create our cartIcon and cartDropdown components. Then we'll create the necessary reducer, actions, and types associated to handling hiding and showing the carDropdown component.
We have updated our cart redux files to handle adding an item, we have also connected it to our updated collection-item.
Now that we have created all the redux code for storing our data, now we are going to connect our items to add them to our cart.
We need to create our cart-item component for our cart and connect our cart component to our cart reducer.
We want to separate all our business logic in our selectors. In this lesson we add a new selector to show our total count of items.