3 ms·
Ask HN: How to go about learning react from ground up?
Hi HN,
How would you suggest going about learning React, one of my concerns is that is a pretty unopinionated framework and its easy to shoot yourself in the foot if you dont know what you're doing, so any suggestions or experiences that'd help make this process easier? Thanks!
- ge96 5y agoNot a pro but fastest way I learned is a crash course by Traverse Media on YT, usually a one hour video/gets updated seems yearly.
- catfishx 5y agoDepends on how much you already know about JS, HTML and other frameworks. For me the following the tutorial and reading the official docs worked great
- Kalis 5y agoI'd say learn hooks from the beginning. Official react docs are still using class components but in a real world hooks are much more common. You can (and should) come back to class lifecycle later when you're comfortable with writing basic react code. I believe there is beta version of react docs which is rewritten with hooks. I also heard good things about fullstackopen course.
- square_usual 5y agoUse this to get started quickly: https://beta.reactjs.org/learn https://beta.reactjs.org/learn Then work on something you find interesting. Like a frontend for a backend you already have etc. Works best if you know someone who can help review your code and correct your mistakes. If not, web tutorials might be better, but those never stuck for me.