Views : 6,117,594
Genre: People & Blogs
Date of upload: Jul 16, 2018 ^^
Rating : 4.939 (1,419/92,259 LTDR)
RYD date created : 2022-04-09T19:09:07.606256Z
See in json
Top Comments of this video!! :3
2 years ago when I started to learn web development, I randomly came to this React Tutorial and back then I've doubted myself if I can get a job in software development. I almost quit this web development tutorial stuff but then I still believed in myself and now I am a React Developer and Tech lead in my team. thanks mosh!
656 |
I did struggle a lot to learn React. A lot of time that I wasted.
The problem? I did not know the basics of Javascript in first place. You need to walk before you can run.
So I took a few very basic books (books, not complex tutorials!) and learned the fundamentals.
After I learned the basics of Javascript, learning React became much easier.
Edit: For those asking about the books, for the very basics I learned with Javascript In Less than 50 Pages.
And to develop my knowledge I learned with Head First Javacript Programming.
146 |
43:12 If you, like me, installed the latest version of bootstrap (v5 at the time of writing this) the "badge-primary" won't work. In bootstrap v5 it's changed to "bg-primary" and "bg-secondary" etc instead, so try className="badge bg-primary m-2" for it to function correctly!
495 |
W10 update for VSC 1.38.1
8:30 : file -> preferences -> settings -> text editor -> formatting : format on save
369 |
8:40
On windows, go to file -> Preferences -> Settings
Edit: Then, at the search bar at the top, search for "format on save".
Tick the small box to enable it :)
Then, at setting, search for "Default format"
At "Editor: Default formater", select from null to prettier-vscode for it to work :)
66 |
How to fix: "npm ERR! missing script: start" when trying to run.
1. Uninstall the global version of the create-react app :
Write in your console: uninstall -g create-react-app
2. Delete the folder react-app (if this is the name of your react project)
3. Recreate your new project locally
Write in your console: npx create-react-app react-app
4. go into your react-app folder and type
npm start .... Have fun
This error is happening because create-react-app is not allowed to be used globally for some time
107 |
If anyone is having trouble installing and using create-react-app (because the one he is using is very outdated), here are the commands to install the latest version and create a new application:
npm init
npm install create-react-app (don't use -g)
npx create-react-app react-app
cd react-app
npm start
28 |
Some error fixes that might be helpful --
1:23:25 If you get "TypeError: Cannot read property 'value' of undefined" after adding this.props.value, try removing the Counter constructor in counter.jsx
1:40:07 If your counterId is undefined, add prop "id={counter.id}" to your Counter component in counters.jsx
2:04:13 Change your App.js to match the other classes ie. from "function App()" to class "App extends Component" ...and add "render()" to return your React.Fragment
99 |
Some tips from my side where you could face some issues-
1. If you are watching this tutorial after April 2022 you should use react version 17 because version 18 is fairly new and it would be difficult to follow the tutorial.
2. Components names in react should always start from capital letters.
62 |
Mosh is by far the most awesome tutor on the entire net. I already took two of his Angular courses and it landed me in a pretty good job. For added difficulty I had concentration difficulties at the time due to serious trauma, so bad I literally couldn't read a page in one sitting. I genuinely felt that I can't carry on with my profession, but Mosh gave it all back to me. Now I'm switching to React, and he's still the only one who can flawlessly explain the entire mess. We have to come up with some super fancy award for this guy.
587 |
@programmingwithmosh
1 month ago
- Want to learn more? Get my complete React mastery course: bit.ly/3l0vWYR - Subscribe for more videos like this: goo.gl/6PYaGF
2 |