The conversation

Lessons learnedExperience excerpt · English

I couldn't agree more

I couldn't agree more. I'll probably switch from React to something like ArrowJS in my personal work: https://www.arrow-js.com/docs/ It makes it easy to have a central JSON-like state object representing what's on the page, then have components watch that for changes and re-render. That avoids the opaqueness of Redux and promise chains, which can be difficult to examine and debug (unless we add browser extensions for that stuff, which feels like a code smell). I've also heard heard good things about Astro, which can wrap components written in other frameworks (like React) so that a total rewrite can be avoided: https://docs.astro.build/en/guides/imports/ I'm way outside my wheelhouse on this as a backend developer, so if anyone knows the actual names of the frameworks I'm trying to remember (hah), please let us know. …

Original discussionRCE Vulnerability in React and Next.js259 source comments · at import
4

What was this responding to?

Parent context · original excerpt

HA

Why does the react development team keeps investing their time on confusing features that only reinvent the wheel and cause more problems than solve? What does server components do so much better than SSR? What minute performance gain is achieved more than client side rendering? Why won’t they invest more on solving the developer experience that took a nosedive when hooks were introduced? They finally added a compiler, but instead of going the svelte route of handling the entire state, it only adds memoization? If I can send a direct message to the react team it would be to abandon all their current plans, and work on allowing users to write native JS control flows in their component logic. sorry for the rant.

Full original

Community replies 0

No community replies yet. Add your perspective.

Replies from the source 4

Direct replies available in this import. Original-language excerpts.

BA

> I also had the same experience with the magic convention over configuration in Ruby. I'm not sure what this is a reference to? Is it actually about Rails?

Full original
OD

For a single page of HTML, ArrowJS's site loads really slow. I sat for almost a full second on just the header showing.

Full original
J-

> do we really need this when Javascript has template literals now yea? JSX is much more than templating.

Full original
MX

Nobody is using Redux any more, and it's even publically discouraged by the creator. It's a legacy system and including it in your problems list just makes me think you have no React experience and no idea what you are talking about (beyond technical yapping also Redux as a product still achieved what it tried to solve so your dx doesn't even matter). Firebase in this context is just a database and how you poll data on client or server from it. Nonsensical reference again.

Full original
Continue on Hacker News

Respect different perspectives. Share concrete experiences.

Sign in to post, reply, repost, and quote.