Yihua Zhang's repositories
crwn-clothing-v2
Version 2 of Crwn-Clothing!
monsters-rolodex-complete
The completed version of our monsters rolodex project!
crwn-clothing-firebase-cart
This repository contains my solution for storing a users cart in firestore. Most of the new code is in the cart saga and firebase utils along with the typical react-redux actions and action types. Make sure to look at the README to see what the security rules are!
react-context-complete
A complete version of our application converting everything redux over to using the contextAPI
react-router-demo
A small app bootstrapped with CRA to explain basics of react-routing
crwn-clothing-prisma
A Prisma server for our backend! Prisma is a layer between our database and our client application that allows us to make graphQL requests!
graphql-practice-complete
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!
redux-saga-take-takelatest-takeevery
Our test application helping us understand the difference between take, takeEvery and takeLatest
useReducer-example
A small project to help us understand the useReducer hook. We are replacing the code in our useEffect example with useReducer for state management.
useMemo-useCallback
Our test application to teach useMemo and useCallback!
custom-hook-example
A small application showing how to write a custom hook to help us fetch data
lesson-32-complete
Let's make our code mobile responsive! We wrote some media queries into the appropriate css files and now we have mobile friendly code!
react-star-rating
A star rating component in React
graphql-lesson
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.
use-state-example
A small application to help us understand the new useState hook
crwn-hooks
We have updated our application over to using hooks and functional components to replace any class components we had before.
gatsby-blog-netlify
The final code for our lesson on building your first gatsby blog!
graphql-practice
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!
lesson-30-signup-saga-exercise
In this repo, you will find the code for our project with everything we have done up until now. Make an attempt with all you've learned to create a sign-up flow using the knowledge you have on structuring out saga code!
use-effect-example
A small project helping us understand the new useEffect hook!
react-context-practice
So now that you've seen how we can convert some of our code over to using the contextAPI, practice converting the rest of our application that uses redux over to the contextAPI!