Live data from Hacker News

RFC: Intent to Ship React 18

github.com

71–75 of 75 posts

Re: RFC: Intent to Ship React 18

#71
post #44

Earlier quoted context omitted.

Hooks are not simple at all, are very error prone, and definitely do not put the user in the "pit of success". JSX is terrific, but React has only gone backwards since classes IMO.

Not a react fan, here, but hooks are so much better than pre-hooks react. Not sure why anyone would want to go back.

If you were choosing a framework today, what would you use?

Re: RFC: Intent to Ship React 18

#72
post #71
post #44

Earlier quoted context omitted.

Not a react fan, here, but hooks are so much better than pre-hooks react. Not sure why anyone would want to go back.

If you were choosing a framework today, what would you use?

I wouldn't work in the browser at all. I'm liking SwiftUI a lot.

Re: RFC: Intent to Ship React 18

#74

'useSyncExternalStore()' -- Gack! Now...that "little" it's-not-a-framework-it's-a-library whose scope is supposed to be confined to just the "view" part of MVC (by which I mean: "React") is inserting it's tentacles (along with a quirky architecture and proven to be error-prone coding patterns, cough, hooks) into the _model_. And it's already corrupted (at least partially) the "controller" part of MVC through React's…

React went from v0.14 to v15. The rationale was the library was stable at that point so they could switch to major versions. Why they went directly to version 15 rather than 1.0 is admittedly a bit odd. I guess it was marketing in the same vein of Java 1.4 to Java 5.

We didn't want a big hubbub around a "1.0" release, since we realized React was effectively already stable at that point and the changes from 14 to 15 were no more dramatic than from 13 to 14 or 12 to 13.

Re: RFC: Intent to Ship React 18

#75
post #73
post #72

Earlier quoted context omitted.

I wouldn't work in the browser at all. I'm liking SwiftUI a lot.

Is it really cross platform?

Not sure what you mean by "really". I guess I have heard some use of that term to mean that it works on watchOS/macOS/iOS/iPadOS/tvOS. In priciple one could create implementations on other platforms, but no one has (beyond toy examples).
Post reply on HN