Re:Moving on from React, a Year Later
by megalord on Wednesday January 22, 2025 @06:25AM
(#42791581)
I agree with this, it was always the case with everything in the real world as well. People use tools that can best handle the problem they have. However, I think most today's websites/apps do not require to be SPA oriented. If only the one page requires heavy client-side interaction, there's always possibility to use SPA library only on that one particular page
[ Parent
| on HN ]
Re:Moving on from React, a Year Later
by staticelf on Wednesday January 22, 2025 @09:58AM
(#42793489)
I agree, most websites would benefit greatly from using something like Phoenix Liveview, Hotwire, Livewire etc. That way you get all the benefits of a SPA without having to deal with the extra complexity of double state management.
I wish I was doing those kinds of apps because that tech seems wonderfully nice to work with. Unfortunately I do client heavy apps mostly so I don't have the benefit from using one. Offline support is... impossible to do good with those kinds of tools.