reactjs-master-class
master-javascript-design-patterns-by-building-real-projects
reactjs-master-class | master-javascript-design-patterns-by-building-real-projects | |
---|---|---|
6 | 1 | |
189 | 59 | |
- | - | |
3.5 | 6.5 | |
4 months ago | almost 3 years ago | |
HTML | JavaScript | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reactjs-master-class
-
Learn React & Redux By Building Netflix
/** * Github: https://github.com/hieptl/netflix-clone. * Dev.to: https://dev.to/hieptl/learn-react-by-building-netflix-1127 */ // import react. import { useEffect, useState } from "react"; // import firebase database. import { firebaseDatabase } from "../../firebase/firebase"; // import use dispatch to dispatch action to the store. import { useDispatch } from "react-redux"; // import action types. import * as loadingActionTypes from "../../actions/LoadingActions"; /** * create Row component. * @param {*} props which are passed to the Row component. */ function Row(props) { // create "movies" state to store list of movies from Firebase. const [movies, setMovies] = useState([]); // get props. const { title, movieType } = props; // leafRoot to get data from Firebase. const leafRoot = "movies"; const dispatch = useDispatch(); /** * fetch movies from Firebase when getting "movieType" prop. */ useEffect(() => { fetchMovies(movieType); }, [movieType]); /** * fetch movies from Firebase. * @param {*} movieType which is used to get movies from Firebase. */ const fetchMovies = (movieType) => { dispatch({ type: loadingActionTypes.SHOW_LOADING }); const movieRef = firebaseDatabase.ref(`${leafRoot}/${movieType}`); movieRef.on("value", (snapshot) => { const movies = snapshot.val(); if (movies && movies.length !== 0) { // update "movies" state after getting movies from Firebase. setMovies(() => movies); dispatch({ type: loadingActionTypes.HIDE_LOADING }); } }); }; return (
{/* Title */}); } // export Row component. export default Row;{title}
{/* End Title */} {/* List of Movies */}{movies.map((movie) => ( ))}{/* End List of Movies */} -
Build Big Companies UI by Using HTML, CSS.
I also have a post about learn React by building Netflix: https://dev.to/hieptl/learn-react-by-building-netflix-1127
-
Learn Redux-Thunk By Building Netflix
Github link: https://github.com/hieptl/netflix-clone/tree/main/advanced/netflix-clone-with-redux-thunk
-
Learn Redux By Building Netflix
Dev.to: https://dev.to/hieptl/learn-react-by-building-netflix-1127
- Learn React By Building Netflix
master-javascript-design-patterns-by-building-real-projects
-
Learn Redux By Building Netflix
Github: https://github.com/hieptl/master-javascript-design-patterns-by-building-real-projects
What are some alternatives?
KyberSwap - Codebase for KyberSwap that helps users convert tokens instantly and directly from their own hardware wallets, metamask and so on. No setup, No deposit, no withdrawal needed. Try it out on https://kyberswap.com or join telegram for developers https://t.me/KyberDeveloper.
freeCodeCamp - freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
dad-jokes - Simple Angular App for Dad Jokes: Angular + Progressive web Apps using PWAFIRE
youtube-clone - The repository helps you learn React and Redux by building Youtube :star:
how-to-send-push-notifications-with-firebase-and-react - Send Push notifications with Firebase and React
zk-rollup - ZK-rollup in Javascript, using circom & snarkJS. This is a meant-to-be-simple implementation aimed at learners.
upload-preview-image-react - How to Upload and Preview Image in React
env-variables-react - How to Use Environment Variables in React
redux - A JS library for predictable global state management
a-tiny-JS-world - A tiny task for those who isn't familiar with OOP and JS OOP in particular yet
big-companies-html-css