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.
Ask HN: Best (physical) book to learn React?
1–10 of 24 posts
Re: Ask HN: Best (physical) book to learn React?
#2Re: Ask HN: Best (physical) book to learn React?
#3React is a decent choice for that. Go ahead and learn it.
If you want to do frontend in 99% of shops - React by itself is not enough. People will tell you it's "just a library" - and that's technically true.
But in the wild you'll be dealing with something I call "Enterprise React". 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.
That is unless you never update it your packages while you are there. Which honestly - I've recently learned - is the smarter career play.
So sure, learn react, make your SPA. But be careful of getting too deep into it, because that way lies madness.
Re: Ask HN: Best (physical) book to learn React?
#4Re: Ask HN: Best (physical) book to learn React?
#5Bonus points: I'd like to be reading about a recent version of React, not a book that was published in 2018.
Re: Ask HN: Best (physical) book to learn React?
#6Re: Ask HN: Best (physical) book to learn React?
#7Alternatively, 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. React is a decent choice for that. Go ahead and learn it. If you want to do frontend in 99% of shops - React by itself is not enough. People will tell you it's "just a library" - and that's technically true. But in the wild you'll be dealing with something I…
This is my experience exactly with React. I hate it. I advocate for html over the wire (LiveView, Hotwire, htmx, etc) or even just plain html templates (they are not evil!) to whoever will listen. I realize SPA frameworks have a place, but those places occur much less frequently than people suppose (or want).
I'm saving your comment to show people next time I encounter another team mindlessly reaching for React and friends.
Re: Ask HN: Best (physical) book to learn React?
#8Why restrict yourself to physical. There is a big world of online courses on React and many are free.
Re: Ask HN: Best (physical) book to learn React?
#9(All the books I learned from are out of date)
Re: Ask HN: Best (physical) book to learn React?
#10If you worried about outdatedness just try to get a book made after the introduction of React Hooks which should be end of 2018/early 2019. I think the physical Road to React on Amazon isn't updated, don't buy that lol, best to buy the ebook file from that dudes website and read it off of a kindle or something.