News for hackers. Stuff that matters.
Re:React 19 by thorum on Thursday December 05, 2024 @05:28PM (#42333575)
> I’m pretty sure it’s a cool feature but, what a mouthful. Imagine you decided to start developing websites today, how do you even start?

Easy: By not using that optional feature.

If you’re like 99% of developers you really don’t need stuff like that until your app reaches a certain stage of growth, if ever - and React doesn’t force it on you.

Re:React 19 by aylmao on Thursday December 05, 2024 @07:28PM (#42334538)
Huge +1 to this. Looking at python 3.13 release notes [1]:

> asyncio.as_completed() now returns an object that is both an asynchronous iterator and a plain iterator of awaitables. The awaitables yielded by asynchronous iteration include original task or future objects that were passed in, making it easier to associate results with the tasks being completed. (Contributed by Justin Arthur in gh-77714.)

"I’m pretty sure it’s a cool feature but, what a mouthful. Imagine you decided to start developing python scripts today, how do you even start?"

[1] https://docs.python.org/3/whatsnew/3.13.html#asyncio

Re:React 19 by kovrik on Thursday December 05, 2024 @08:01PM (#42334830)
Not sure if those are the same though?

Async, await, iterators, futures etc. are pretty much standard constructs in almost all programming languages / concurrency frameworks.

Whereas Actions, Transitions, Pending State, Reducers etc. are React-specific idiosyncrasies.

I guess that's the main issue people have with React, when you learn it you have to spend so much time to learn all these React-specific constructs and idiosyncrasies that are not transferable anywhere else.

Re:React 19 by aylmao on Friday December 06, 2024 @04:18PM (#42344561)
When one is learning to program, one doesn't jump straight into learning coroutine management.

Similarly, wether they are React-specific idiosyncrasies or not, one shouldn't assume people need to jump straight into Actions, Transitions, etc when first learning React.

Re:React 19 by yawaramin on Thursday December 05, 2024 @07:35PM (#42334602)
Yeah, but if you're like 95% of developers you really don't need React either, but 'something' forces it on you.