by debacle · 2y ago · 0 comments
React is a tool for writing 3D scenes that can handle state updates: https://github.com/pmndrs/react-three-fiber
React is a tool for writing music that can handle state updates: https://github.com/FormidableLabs/react-music
React is a tool for writing infrastructure-as-code templates that… um… could with some additional work handle state updates: https://www.linkedin.com/pulse/aws-terraform-generator-using...
The declarative part is that the UI is recomputed from the state sorta-ex-novo at each update
I expect that in fifty years all programming will look declarative, either like HTML (which is sorta 'natively declarative') or more like React (which shims it into an imperative language).
https://www.tiktok.com/@user2571420815968/video/720501112959...
But both the JavaScript and Lua versions of React are full of high fructose corn syrup, anyway.
https://www.youtube.com/watch?v=H_zsZMn5Efk
I'd prefer a low-calorie high-performance port of Svelte to Lua.