reactjs-master-class
big-companies-html-css
reactjs-master-class | big-companies-html-css | |
---|---|---|
6 | 1 | |
189 | 0 | |
- | - | |
3.5 | 0.0 | |
5 months ago | almost 3 years ago | |
HTML | HTML | |
- | - |
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
big-companies-html-css
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.
master-javascript-design-patterns-by-building-real-projects - Please click :star: if you like the project. Pull requests are highly appreciated :heart:. This is my series about Design Patterns - Implemented by Javascript. My series will help you understand about design patterns by building real projects. For this reason, you can see the places in which each pattern could be applied.
dad-jokes - Simple Angular App for Dad Jokes: Angular + Progressive web Apps using PWAFIRE
how-to-send-push-notifications-with-firebase-and-react - Send Push notifications with Firebase and React
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
youtube-clone - The repository helps you learn React and Redux by building Youtube :star:
quickstart-android - Firebase Quickstart Samples for Android