4 ms·
This is major - potentially killing off a thousand tons of boilerplate. Not sure if it is too late, because Elixir's LiveView seem to have gotten important bec
by kimi 4y ago
This is major - potentially killing off a thousand tons of boilerplate.
Not sure if it is too late, because Elixir's LiveView seem to have gotten important because it works around the same issue.
But it's time to push the wooden stake through the heart of the SPA (and the phone app too, but that's for another day).
- incrudible 4y agoYou can already kill the boilerplate with code generation and metaprogramming. Once you have done that, you figure out why that is not always a good idea and how to best deal with the exceptions that your particular use case brings to the table.
- kimi 4y agoI'm thinking more of all the cruft that goes to handle state on the client and keep it synced to the server in your React app. Redux and the gazillions of other packages which names sound like warthogs having breakfast.
- incrudible 4y agoThe same argument applies. I think Redux is a pointless indirection, but you can use metaprogramming to make it more palatable, at the cost of another indirection.