TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best (physical) book to learn React?

14 pointsby zapstarover 3 years ago
I’d love to read through a book on React, but I’m surprised at the poor reviews on Amazon. Perhaps I’m looking in the wrong place. Who can point me to a good one (that maybe isn’t sold from Amazon)?<p>Alternatively, why should I not be considering React? Is everybody using something else these days? Looking to build a front-end to interact with some REST APIs.

9 comments

LAC-Techover 3 years ago
<i>Alternatively, why should I not be considering React? Is everybody using something else these days? Looking to build a front-end to interact with some REST APIs.</i><p>React is a decent choice for that. Go ahead and learn it.<p>If you want to do frontend in 99% of shops - React by itself is not enough. People will tell you it&#x27;s &quot;just a library&quot; - and that&#x27;s technically true.<p>But in the wild you&#x27;ll be dealing with something I call &quot;Enterprise React&quot;. A bloated monstrosity of a web project created with create-react-app (Which is a nightmare of needless complexity under a thin and very slow veneer of convenience). Your react and general coding skills will be secondary to your skills as a sort of npm sysadmin, because best practices are to download a library for every whim anyone ever has.<p>That is unless you never update it your packages while you are there. Which honestly - I&#x27;ve recently learned - is the smarter career play.<p>So sure, learn react, make your SPA. But be careful of getting too deep into it, because that way lies madness.
评论 #30031137 未加载
评论 #30036617 未加载
评论 #30044024 未加载
throwawayjs9021over 3 years ago
Maybe you are looking for &quot;React: Up &amp; Running: Building Web Applications&quot; 2nd Edition? Physical book published by O&#x27;reilly on December 2021. Author is Stoyan Stefanov, a facebook engineer (ex fb I think?). Has good reviews. It&#x27;s also only 230 pages. <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;React-Running-Building-Web-Applications&#x2F;dp&#x2F;1492051462" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;React-Running-Building-Web-Applicatio...</a><p>Hooks (functions?) are the way forward for React. Classes were the old way. But this book has both. Author&#x27;s rationale is &quot;A controversial decision was the inclusion of class components in addition to function components. Function components are likely the way forward; however, the reader is likely to encounter existing code and tutorials that talk only about class components. Knowing both syntaxes doubles the chances of reading and understanding code in the wild&quot;. Seems reasonable.<p>Also definitely take a look at the React Docs Beta at <a href="https:&#x2F;&#x2F;beta.reactjs.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;beta.reactjs.org&#x2F;</a><p>They seem to be a substantial improvement over the previous docs. All explanations are written using Hooks rather than classes.<p>I love this 10 min intro video to React Docs Beta by Rachel Nabors from React Conf 2021. Has subtitles. &gt; <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mneDaMYOKP8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mneDaMYOKP8</a><p>Some comments have said React might be a way to hell, so if you wanna improve your JavaScript or CSS, there are 2 well-regarded paid courses:<p>Just JavaScript by Dan Abramov. He&#x27;s a member of the React team, and a co-author of Redux and Create React App. <a href="https:&#x2F;&#x2F;justjavascript.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;justjavascript.com&#x2F;</a><p>CSS course by Josh Comeau. <a href="https:&#x2F;&#x2F;css-for-js.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;css-for-js.dev&#x2F;</a><p>Both are paid courses.
评论 #30034197 未加载
ceasesurthinkoover 3 years ago
Road to React, is a decent book (and the only one I read), but honestly I would recommend watching a few tutorials instead.<p>If you worried about outdatedness just try to get a book made after the introduction of React Hooks which should be end of 2018&#x2F;early 2019. I think the physical Road to React on Amazon isn&#x27;t updated, don&#x27;t buy that lol, best to buy the ebook file from that dudes website and read it off of a kindle or something.
评论 #30033027 未加载
hoofheartedover 3 years ago
ReactJS is certainly worth learning. I personally use the Clone Wars on GitHub as my instruction manual when I&#x27;m not sure how to accomplish something with React and I want to see how it could be built in the real world.
s0rr0wskillover 3 years ago
Physical is probably not that good for learning a framework
评论 #30033017 未加载
ivarsover 3 years ago
I like &quot;Learning React&quot; 2nd Edition (2020) by Ranks and Porcello. Emphasis is on functional programming and hooks.
zapstarover 3 years ago
Bonus points: I&#x27;d like to be reading about a recent version of React, not a book that was published in 2018.
评论 #30030701 未加载
quickthrower2over 3 years ago
Why restrict yourself to physical. There is a big world of online courses on React and many are free.
评论 #30031448 未加载
ja27over 3 years ago
freeCodeCamp has a new course: <a href="https:&#x2F;&#x2F;www.freecodecamp.org&#x2F;news&#x2F;free-react-course-2022&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.freecodecamp.org&#x2F;news&#x2F;free-react-course-2022&#x2F;</a><p>(All the books I learned from are out of date)
评论 #30044021 未加载