5 ms·
People who use observables-based frameworks are asking for trouble. Every single industrial scale project I saw was inevitably breaking apart on seams.
by wetpaws 2y ago
People who use observables-based frameworks are asking for trouble.
Every single industrial scale project I saw was inevitably breaking apart on seams.
- mrj 2y agoVery different in my experience but implementation matters. I've been using mobx for years with great results, largely because I move all of the logic out of components into stores. I think that's the actual key, since most hooks-based and other solutions rely on a lot of component logic that becomes frail and error-prone. Instead, making the view layer only view vastly improves development complexity by making a layer responsible for the data that is separate from rendering. My components do as little as possible other than render html and bind the occasional event handler to a store function. With this in place, development scales much more easily than layers of hooks.
- wetpaws 2y ago[dead]