| ▲ | jng 5 hours ago |
| LLM-based coding is enabling so much! The crazy weekend project now can have compilation to native code and web assembly, allow server-side or client-side rendering, manage multiple types of persistence, include adaptive compression, and do all of this without breaking a sweat. It's scary but I love it. |
|
| ▲ | 4 hours ago | parent | next [-] |
| [deleted] |
|
| ▲ | coliveira 5 hours ago | parent | prev | next [-] |
| For all its worth this could just be an AI generated blog post. There is no code, no repository, no link to any use. |
|
| ▲ | killerstorm 5 hours ago | parent | prev [-] |
| And yet people keep using React, relying on a fractal pattern of kludges. |
| |
| ▲ | nine_k an hour ago | parent | next [-] | | React (and the unidirectional FRP approach in general) is the only known sane way to describe complex GUIs. It's the same approach that powers spreadsheet calculations. Most websites are not complex GUIs though, and do not need React. | | |
| ▲ | killerstorm 18 minutes ago | parent | next [-] | | React is very different from dataflow computation - it rebuilds a component subtree upon a property update; it also doesn't quite understand what "property update" means because it's defined on top of JS semantics. It's a hodgepodge of leaky abstractions and outright insanity. I've been making GUIs (among other things) for 25 years, including 12 years using React, so you don't need to tell me how amazing it is. There's nothing particularly wrong with using React for rendering (although there's a whole lot of gotchas), the real problem is when people use React hooks for business logic - that's like you decide you need to fetch something in a middle of rendering screen. | |
| ▲ | wizzwizz4 39 minutes ago | parent | prev [-] | | It's not "the only known sane way". In many cases, it's not even an appropriate approach! MVC, PAC, and self-contained widgets which make asynchronous calls to an API surface, are perfectly cromulent alternatives, each with their own strengths, but I've yet to see a situation where React was actually the best way to go. |
| |
| ▲ | PaulHoule 4 hours ago | parent | prev | next [-] | | This post isn't offering anything better. | |
| ▲ | Gagarin1917 3 hours ago | parent | prev [-] | | [dead] |
|