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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What are some good React tutorials?

144 点作者 Kaladin大约 9 年前
I am beginner in this whole javascript/node ecosystem. Currently i am going through express.js framework, and would like add a client-side framework/library to my repertoire.Any suggestions would be welcome.

28 条评论

seanemmer大约 9 年前
I highly recommend the Full Stack Redux Tutorial:<p><a href="http:&#x2F;&#x2F;teropa.info&#x2F;blog&#x2F;2015&#x2F;09&#x2F;10&#x2F;full-stack-redux-tutorial.html" rel="nofollow">http:&#x2F;&#x2F;teropa.info&#x2F;blog&#x2F;2015&#x2F;09&#x2F;10&#x2F;full-stack-redux-tutorial...</a><p>Learning Redux from the get go means you can skip a lot of React&#x27;s internal state management &#x2F; lifecycle methods.<p>The tutorial also covers a bunch of relevant topics like TDD with React, immutable.js, and socket.io.
评论 #11467298 未加载
mrborgen大约 9 年前
Sorry for the self promotion, but I wrote a few React tutorials with someone like you in mind. They&#x27;re only covering the basics of React, coding directly in an html file, so they don&#x27;t involve getting up and running with Node+React. But I think that should be tackled after you know the basics of React.<p>Building Your First React App: <a href="https:&#x2F;&#x2F;medium.com&#x2F;learning-new-stuff&#x2F;building-your-first-react-js-app-d53b0c98dc#.9jikbk8re" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;learning-new-stuff&#x2F;building-your-first-re...</a><p>Building Your Second React App: <a href="https:&#x2F;&#x2F;medium.com&#x2F;learning-new-stuff&#x2F;building-your-second-react-js-app-eb66924b3774#.7c7bgel6b" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;learning-new-stuff&#x2F;building-your-second-r...</a><p>React.JS in 8 minutes: <a href="https:&#x2F;&#x2F;medium.com&#x2F;learning-new-stuff&#x2F;learn-react-js-in-7-min-92a1ef023003#.w32ul3dvh" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;learning-new-stuff&#x2F;learn-react-js-in-7-mi...</a><p>Other than that, I always recommend the official tutorial: <a href="https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;tutorial.html" rel="nofollow">https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;tutorial.html</a><p>... and Egghead.io&#x27;s videos: <a href="https:&#x2F;&#x2F;egghead.io&#x2F;series&#x2F;react-fundamentals" rel="nofollow">https:&#x2F;&#x2F;egghead.io&#x2F;series&#x2F;react-fundamentals</a>
评论 #11466214 未加载
avalexandrov大约 9 年前
I am using this one and like it very much so far: <a href="http:&#x2F;&#x2F;courses.reactjsprogram.com&#x2F;courses&#x2F;reactjsfundamentals&#x2F;" rel="nofollow">http:&#x2F;&#x2F;courses.reactjsprogram.com&#x2F;courses&#x2F;reactjsfundamental...</a> It&#x27;s by Tyler McGinnis.
评论 #11467749 未加载
评论 #11466095 未加载
peterhunt大约 9 年前
What&#x27;s wrong with the official tutorial? <a href="https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;tutorial.html" rel="nofollow">https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;tutorial.html</a>
评论 #11467271 未加载
wesbos大约 9 年前
I&#x27;m the author of <a href="http:&#x2F;&#x2F;ReactForBeginners.com" rel="nofollow">http:&#x2F;&#x2F;ReactForBeginners.com</a><p>I&#x27;ve had 4500 people take it so far and have had tons of positive feedback - take a look!
评论 #11469006 未加载
评论 #11468800 未加载
评论 #11466681 未加载
amarsahinovic大约 9 年前
SurviveJS book, you can read it online for free: <a href="http:&#x2F;&#x2F;survivejs.com&#x2F;webpack_react&#x2F;introduction&#x2F;" rel="nofollow">http:&#x2F;&#x2F;survivejs.com&#x2F;webpack_react&#x2F;introduction&#x2F;</a> <a href="http:&#x2F;&#x2F;survivejs.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;survivejs.com&#x2F;</a><p>Full-Stack Redux Tutorial: <a href="http:&#x2F;&#x2F;teropa.info&#x2F;blog&#x2F;2015&#x2F;09&#x2F;10&#x2F;full-stack-redux-tutorial.html" rel="nofollow">http:&#x2F;&#x2F;teropa.info&#x2F;blog&#x2F;2015&#x2F;09&#x2F;10&#x2F;full-stack-redux-tutorial...</a>
BenderV大约 9 年前
Thinking in React was the first tutorial that really triggered me an woaw. It&#x27;s also quite fast to do.<p><a href="https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;thinking-in-react.html" rel="nofollow">https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;thinking-in-react.html</a>
dreen大约 9 年前
Heres a nice intro to React that deals with JUST React, no JSX, no Webpack etc. I found it on HN the other day<p><a href="http:&#x2F;&#x2F;jamesknelson.com&#x2F;learn-raw-react-no-jsx-flux-es6-webpack&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jamesknelson.com&#x2F;learn-raw-react-no-jsx-flux-es6-webp...</a>
saadehmad大约 9 年前
I think this blog post: <a href="http:&#x2F;&#x2F;andrewhfarmer.com&#x2F;getting-started-tutorials&#x2F;" rel="nofollow">http:&#x2F;&#x2F;andrewhfarmer.com&#x2F;getting-started-tutorials&#x2F;</a><p>will help you to get started with react. I&#x27;m following this blog post to learn react myself.
markm248大约 9 年前
ReactJS for Stupid People is an excellent place to start:<p><a href="http:&#x2F;&#x2F;blog.andrewray.me&#x2F;reactjs-for-stupid-people&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.andrewray.me&#x2F;reactjs-for-stupid-people&#x2F;</a>
mortona大约 9 年前
I found it quick to understand the ideas behind React, but it was a lot more difficult to understand how to apply that to practical problems and to &#x27;think&#x27; in React.<p>React.js By Example [<a href="http:&#x2F;&#x2F;reactkungfu.com&#x2F;react-by-example&#x2F;" rel="nofollow">http:&#x2F;&#x2F;reactkungfu.com&#x2F;react-by-example&#x2F;</a>] was enormously helpful in showing how to structure various different real-world apps. So if you find yourself beyond the basic CommentBox examples, but not sure how to build your own components then this might help.
darklajid大约 9 年前
Not affiliated, but I subscribed to Stephen Grider&#x27;s courses on Udemy and I&#x27;m quite happy with those.
评论 #11476536 未加载
评论 #11467021 未加载
yamalight大约 9 年前
I&#x27;d recommend starting with &quot;React How To&quot; by Pete Hunt [1] - it&#x27;s one of the best collections of starter guides you&#x27;ll need to get started with React.<p>And then you can always look at awesome-react. [2]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;petehunt&#x2F;react-howto" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;petehunt&#x2F;react-howto</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;enaqx&#x2F;awesome-react" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;enaqx&#x2F;awesome-react</a>
cornedor大约 9 年前
This one explains the ideas behind React very good imo. It does this by creating &quot;Bloop&quot; a library that kinda works likes React without stuff like the Virtual DOM. <a href="http:&#x2F;&#x2F;jlongster.com&#x2F;Removing-User-Interface-Complexity,-or-Why-React-is-Awesome" rel="nofollow">http:&#x2F;&#x2F;jlongster.com&#x2F;Removing-User-Interface-Complexity,-or-...</a>
daram大约 9 年前
Here&#x27;s my comparison of React.js Fundamentals by Tyler McGinnis, and Learn React.js: The Basics, on Lynda.com.<p><a href="https:&#x2F;&#x2F;adtmag.com&#x2F;blogs&#x2F;dev-watch&#x2F;2016&#x2F;04&#x2F;react-tutorials.aspx" rel="nofollow">https:&#x2F;&#x2F;adtmag.com&#x2F;blogs&#x2F;dev-watch&#x2F;2016&#x2F;04&#x2F;react-tutorials.a...</a>
tyingq大约 9 年前
I suspect part of the rub is that with react being only the &#x27;V&#x27; in MVC, stand-alone tutorials leave you with only part of the picture.<p>And, of course, people are choosing different paths to fill in the rest of the stack. All of which pull your specific &#x27;style&#x27; of using react in slightly different directions.
评论 #11466569 未加载
评论 #11465764 未加载
owenwil大约 9 年前
I can only recommend two: - The official Facebook React tutorial. It might be unsexy, but hell it&#x27;s good. In fact, it&#x27;s the best official documentation I&#x27;ve ever seen: <a href="https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;tutorial.html" rel="nofollow">https:&#x2F;&#x2F;facebook.github.io&#x2F;react&#x2F;docs&#x2F;tutorial.html</a> - React for Beginners. The only screencast that didn&#x27;t make me want to fall asleep – worth every dollar: <a href="http:&#x2F;&#x2F;reactforbeginners.com" rel="nofollow">http:&#x2F;&#x2F;reactforbeginners.com</a>
评论 #11466702 未加载
prezjordan大约 9 年前
Surprised this one hasn&#x27;t been mentioned yet! <a href="http:&#x2F;&#x2F;reactfordesigners.com&#x2F;labs&#x2F;reactjs-introduction-for-people-who-know-just-enough-jquery-to-get-by&#x2F;" rel="nofollow">http:&#x2F;&#x2F;reactfordesigners.com&#x2F;labs&#x2F;reactjs-introduction-for-p...</a><p>Full of graphics and nice examples - it covers a lot of the reasons folks find react so fun to work with.<p>As a pro-tip: there is a lot of tooling, and things move quickly so a lot of examples on the web get outdated FAST. Don&#x27;t be discouraged - it can be rough.
paulshen大约 9 年前
<a href="http:&#x2F;&#x2F;andrewhfarmer.com&#x2F;getting-started-tutorials&#x2F;" rel="nofollow">http:&#x2F;&#x2F;andrewhfarmer.com&#x2F;getting-started-tutorials&#x2F;</a> has a list of tutorial reviews.<p>I&#x27;m the author of <a href="http:&#x2F;&#x2F;buildwithreact.com&#x2F;tutorial" rel="nofollow">http:&#x2F;&#x2F;buildwithreact.com&#x2F;tutorial</a>, which Andrew says &quot;is by far the shortest tutorial and the easiest read&quot; :) Happy to answer any questions on twitter.
acemarke大约 9 年前
I maintain a list of high-quality React and Redux-related tutorials over at <a href="https:&#x2F;&#x2F;github.com&#x2F;markerikson&#x2F;react-redux-links" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;markerikson&#x2F;react-redux-links</a>. It&#x27;s specifically intended to be a great starting point for anyone trying to get started learning the React ecosystem.
brucehauman大约 9 年前
I wrote an intro to React that emphasizes it&#x27;s functional&#x2F;reloadable nature. <a href="http:&#x2F;&#x2F;rigsomelight.com&#x2F;2015&#x2F;06&#x2F;09&#x2F;straightforward-live-functional-javascript-building-the-yome-widget.html" rel="nofollow">http:&#x2F;&#x2F;rigsomelight.com&#x2F;2015&#x2F;06&#x2F;09&#x2F;straightforward-live-func...</a>
ludwigvan大约 9 年前
Here is my take on the subject:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ustun&#x2F;reactjs-introduction" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ustun&#x2F;reactjs-introduction</a><p>There is a video at <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NSeurgO39Hk" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=NSeurgO39Hk</a> if you are interested.
brudgers大约 9 年前
The Code Cartoon guide to Redux isn&#x27;t a tutorial, but it may be useful for understanding the Redux architecture that underpins React.<p><a href="https:&#x2F;&#x2F;code-cartoons.com&#x2F;a-cartoon-guide-to-flux-6157355ab207#.y0fq06c2o" rel="nofollow">https:&#x2F;&#x2F;code-cartoons.com&#x2F;a-cartoon-guide-to-flux-6157355ab2...</a>
lambdacomplete大约 9 年前
Has anybody tried this? <a href="https:&#x2F;&#x2F;www.udemy.com&#x2F;react-redux&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.udemy.com&#x2F;react-redux&#x2F;</a> Is it worth the money?
评论 #11470457 未加载
评论 #11466982 未加载
Brajeshwar大约 9 年前
I second the egghead.io video tutorials (paid). My team spent about a week and we&#x27;re using ReactJS as our view for a Progressive WebApp for an eCommerce site in India.
gauravgupta大约 9 年前
My usual go-to website for tutorials: <a href="http:&#x2F;&#x2F;hackr.io&#x2F;tutorials&#x2F;react" rel="nofollow">http:&#x2F;&#x2F;hackr.io&#x2F;tutorials&#x2F;react</a>
eecks大约 9 年前
You could go through these demos<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ruanyf&#x2F;react-demos" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ruanyf&#x2F;react-demos</a>
hardwaresofton大约 9 年前
tldr; Don&#x27;t treat backend and frontend the same, they have very different concerns, also learn the things that came before frameworks, and why they were useful&#x2F;included in frameworks to begin with.<p>While your intended backend and frontend are both javascript, they have very different concerns. I suggest you learn them in as much isolation as you can, before attempting to mix the two.<p>I would highly recommend that you do NOT start from learning react. React is a line in a very long story that the JS community has been living. Please strive to understand how that story started, and where react fits in, and what methodologies are being used in the libraries&#x2F;frameworks that are popular today.<p>Rather than starting with and binding yourself to react, I&#x27;d suggest you start with the minimum you need, and progress to different libraries as you need them, and realizing the actual need&#x2F;niche for frameworks.<p>A progression might look like this:<p>1) HTML+CSS+JS - Basic static, well designed pages<p>2) HTML+CSS+JS+jQuery - 1) + simple interactions on the page, note that too much jquery will quickly become hard to reason about<p>2) HTML+CSS+JS+Databinding - 1) + declarative databinding (with a framework like Knockout) will introduce some structure into DOM updates over the jquery approach<p>3) HTML+CSS+JS+Databinding+Routing - 2) + a realization that knockout generally aims to work on one page at a time, but obviously sites have many pages, and SPAs can be beneficial in delivering instant-feeling user experience.<p>4) HTML+CSS+JS+Databinding+Routing+Components - 3) + realizing the need for separation and isolation between components to keep your sanity (both knockout.js and react offer components)<p>5) HTML+CSS+JS+Databinding+Routing+Components+Data - 3) Handling data from the server is obviously important, backbone has an oft-praised model system, and you could also flux pattern since you&#x27;re interested in react.<p>5) Framework ? At this point, including x libraries to do all the things that you have found make your life easier may be less preferable to using a framework. Of course, this means you&#x27;ll have to deal with the cognitive overhead of a framework but at this point, you should know exactly WHY you are using a framework, and start to distinguish the difference between how different frameworks bundle the parts.<p>Ex. the distinction between how knockout.js does databinding, how react does it, and how angular1 does it.<p>Ex. The difference between react&#x27;s rendering methodology and backbone&#x27;s (they both use a render function to determine what will be shown -- how is react different?)<p>I might suggest redoing a small app like TodoMVC with all these options (you can change it up by styling the frontend differently every time or something), I think a process like that leads to a more well-balanced understanding of frontend JS.