reactjs-master-class
dad-jokes
reactjs-master-class | dad-jokes | |
---|---|---|
6 | 4 | |
189 | 2 | |
- | - | |
3.5 | 6.2 | |
4 months ago | 5 months 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
dad-jokes
-
Building Progressive Web Apps in Angular (using pwafire)
From the source code on the repo shared, we will focus on the app.component.ts file:
-
Navigating the Code: A Comparative Analysis of CodiumAI PR-Agent and GitHub Copilot in Code Assistance and Review
View on GitHub
-
How to Fetch Data from an API in Angular
https://github.com/achingachris/dad-jokes-angular/tree/tailwindconfig
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.
how-to-send-push-notifications-with-firebase-and-react - Send Push notifications with Firebase and React
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.
pr-agent - 🚀CodiumAI PR-Agent: An AI-Powered 🤖 Tool for Automated Pull Request Analysis, Feedback, Suggestions and More! 💻🔍
SAAS-Starter-Kit-Pro - 🚀A boilerplate for building Software-as-Service (SAAS) apps with Reactjs, and Nodejs
upload-preview-image-react - How to Upload and Preview Image in React
terraform-provider-ichdj - Terraform + Dad Jokes = 👌. Terraform provider for the "icanhazdadjoke.com" API.
env-variables-react - How to Use Environment Variables in React
karma - Spectacular Test Runner for JavaScript
redux - A JS library for predictable global state management
angular-cli - CLI tool for Angular