News for hackers. Stuff that matters.
Re:Clojure: Realtime collaborative web apps without ClojureS... by austin-cheney on Friday April 11, 2025 @08:00AM (#43652853)
There is a direct correlation between complexity of the state model and the risk it imposes. State doesn’t have to be risky at all. If in an application there is only a single state object and it’s only a single dimension in depth it is never the pain point. In fact it helps to identify where the actual pain points are elsewhere in the application.

This is why I will never touch something like React, a self inflicted wound.

Re:Clojure: Realtime collaborative web apps without ClojureS... by jwr on Saturday April 12, 2025 @07:48AM (#43663594)
I use React in ClojureScript and I don't have problems with state. I treat react mostly as a rendering interface of sorts: my code is a function of state, and React is just a tool that does the shadow-DOM thing. I don't see a reason to avoid React.