TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to go about learning react from ground up?

1 点作者 Utkarsh_Mood大约 3 年前
Hi HN,<p>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&#x27;re doing, so any suggestions or experiences that&#x27;d help make this process easier? Thanks!

4 条评论

square_usual大约 3 年前
Use this to get started quickly: <a href="https:&#x2F;&#x2F;beta.reactjs.org&#x2F;learn" rel="nofollow">https:&#x2F;&#x2F;beta.reactjs.org&#x2F;learn</a><p>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.
Kalis大约 3 年前
I&#x27;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&#x27;re comfortable with writing basic react code.<p>I believe there is beta version of react docs which is rewritten with hooks. I also heard good things about fullstackopen course.
ge96大约 3 年前
Not a pro but fastest way I learned is a crash course by Traverse Media on YT, usually a one hour video&#x2F;gets updated seems yearly.
catfishx大约 3 年前
Depends on how much you already know about JS, HTML and other frameworks.<p>For me the following the tutorial and reading the official docs worked great