VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
React JS Course for Beginners - 2021 Tutorial

React JS Course for Beginners - 2021 Tutorial

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
This is a full premium course. Learn React.js from the ground up with fundamentals to more intermediate and advanced topics. You will learn by building a real app! - Starter files: https://github.com/weibenfalk/react-rmdb-v3-starter-files Course from Thomas Weibenfalk. https://www.youtube.com/channel/UCnnnWy4UTYN258FfVGeXBbg Learn: - React - JSX - Styled Components - React Router - State and Props - Context - CSS - API handling - Hooks - Typescript - Persist state in SessionStorage - Deploy to Netlify - And MUCH more
Date: 2022-03-14

Comments and reviews: 10


I have a problem, can anyone explain to me where I'm wrong. In time 02:10:45. When I wrote in
Home.js
import React, - useState, useEffect - from -react-;
// Confing
import - POSTER_SIZE, BACKDROP_SIZE, IMAGE_BASE_URL - from '../../config';
// Component
import HeroImage from -../HeroImage/HeroImage-;
// Hook
import - useHomeFetch - from '../../hooks/useHomeFetch';
// Image
import NoImage from '../../images/no_image.jpg';
const Home = () => -
const - state, loading, error - = useHomeFetch();
return (
-state.results[0] ? (
) : null-
);
-
export default Home;
It reports to me that the error is in line where is and says that TypeError: state is undefined

reply

For ALL THE BEGINNERS HERE. I just want you to know this is not a beginner course so if you know nothing or even just basic of react then this is not a course for you this is intermediate to advance level course. You should do scrimba react basic course before this one This guy is not gonna teach you basics of react. I know basics of JS and react but still this course is difficult for me. So before starting try to learn basic of React and JS specially ES6 modern Javascript.
reply

1hr into the video I'm having an issue...my react app is blank even the start here isn't showing...I even copies the files from your zip directly with styles and when I run the npm start the react app is still blank
And the part in the video where he implemented global styles I did that mine was blank it didn't reset the margin and padding like it did in the video but returned a blank page...I need help

reply

If you have a different structure in your useEffect at 5:00:00 and you separated the fetch movie from the use effect your use effect shoudl look like this
useEffect(()=>--
const sessionState = isPersistedState(movieId);-
if(sessionState)--
setState(sessionState);-
setLoading(false);-
return;-
--
fetchMovie();-
-, [movieId, fetchMovie])

reply

3:13:06 - 3:19:50 Button Component - Logic... I got stuck on this for two days, reviewing everything with a fine tooth comb because my button was unresponsive [clicked and nothing happened]. No warning signs, no IntelliSense warnings or highlights...
The fix... Inside the Button Component, instead of 'onclick' it's camel case 'onClick.-

reply

Thank you for this content!
I believe you should change Hero Image background-position to top, because if you leave it as it is, you will not see the head of the actor in many movie pictures!
Also in Searchbar/index.tsx the setSearchTerm function definition in the type Props object could be (searchTerm: string) => void

reply

Thank you so much for this priceless information
I have a small question just to make everything clear
Regarding the -deploy to Netlify- part, first we run -npm build- then deployed it manually, but if I want to do it the Github way, I don't need to run npm build right? I mean at all!

reply

Really interesting until I got to around 7:00 and saw the -Black Lives Matter- banner on the reactjs web site! Marxist propaganda on the official web site for a js library!!! What is going on?
No thanks. I'll find another piece of software to use for my projects.

reply

It'd be helpful to see a visual mapping of how the myriad imports & exports are relating; it's way too easy to get lost in the import/export/wrapped/styled/components ('infinite' nesting)... can't see the forest for the trees here;
reply

I got an issue when I wanted to use my editor to practice doing this course , the text was trying to write on java script , did not appear , for example ReactDOM.render(, document.getElementById(-root-) .
reply
Add a review, comment






Other channel videos