Live data from Hacker News

React v17.0 Release Candidate: No New Features

reactjs.org

11–20 of 120 posts

Re: React v17.0 Release Candidate: No New Features

#12
post #6
post #5

Earlier quoted context omitted.

I second you on that. The number of times I've had to rewrite code because a framework decided to break everything with little warning.. I don't even want to think about it actually. I get wanting to make code better but gesh people, do some planning and figure out a direction to move a project. Also it seems JS devs don't understand semver either. Massive breaking changes in patch or minor versions are just evil.

I've had similar experiences with JS libraries, but not so much with React. The React team are much better at managing to keep things backwardly compatible than most.

I really like the React approach to upgrades: if your app works with version N with no warnings, it will work with version N+1. https://reactjs.org/docs/faq-versioning.html

Re: React v17.0 Release Candidate: No New Features

#13
post #7

React hooks is influenced by Dan, the author of Redux, not a fan of them both

IMO Hooks is the best thing that happened to React. Once you get used to it it is a lot more clean and productive. It requires you to unlearn a few things though, e.g. don't think about component lifecycles, but think about data flow/changes. Once you get used to it is a lot more productive and enjoyable way of developing React apps.

Re: React v17.0 Release Candidate: No New Features

#14

No new feature, yet contains breaking changes.

to be fair one changes bites me aswell, but I always new everything is "async" in react functional components and I've often needed to write stuff to get around that. but effect cleanups are different and I just did not care.

Re: React v17.0 Release Candidate: No New Features

#15
post #7

React hooks is influenced by Dan, the author of Redux, not a fan of them both

Dan here — I don't quite know what you mean by this, but if you're interested in the actual inspiration behind Hooks, you can check out our Prior Art section: https://reactjs.org/docs/hooks-faq.html#what-is-the-prior-ar....

I only worked on documentation and presentation.

Re: React v17.0 Release Candidate: No New Features

#16
post #10
post #7

React hooks is influenced by Dan, the author of Redux, not a fan of them both

I'm pretty sure hooks weren't his idea. Can't remember where he said that. The fact that he enjoys communicating doesn't mean he is the only one working on react.

I documented it here. :-) Sebastian Markbage came up with them, with different inspiration sources.

https://reactjs.org/docs/hooks-faq.html#what-is-the-prior-ar...

Re: React v17.0 Release Candidate: No New Features

#18
post #7

React hooks is influenced by Dan, the author of Redux, not a fan of them both

I think React hooks are silly but Redux is an OK solution to a certain problem, and one of the nicer major libraries in all of JavaScript land, wildly better than almost anything else of similar prominence (it's fairly small and IIRC it has one dependency, with one other transitive dependency, and that's it). I don't see the philosophical or practical connection between the two.
Post reply on HN