3 ms·
Quick reminder that you can still write complex and useful form-driven web applications with no JavaScript at all.
by Sir_Cmpwn 7y ago
Quick reminder that you can still write complex and useful form-driven web applications with no JavaScript at all.
- tannhaeuser 7y agoThis. I've used React and to my surprise even liked it, but if you have to start all over every 3 years, you've got to ask whether pulling your model ... whatever over to the client is actually worth it in the vast majority of cases. What was wrong with SSR and a bit of jquery and Ajax again?
- Sir_Cmpwn 7y agoNote that I said "no JavaScript at all", not "a bit of jquery and ajax"
- wishinghand 7y agoHow would you get data to change reactively?
- Sir_Cmpwn 7y agoSubmit a form, display updated data on the new page.
- wishinghand 7y agoSo if there's unrelated data on the page that one would want to preserve after getting more data, what are the options? Send it in as a "preservationObject" or something similar and it gets returned and re-interpolated on the new page render? LocalStore? Query Params?
- Sir_Cmpwn 7y agoDon't store state on the client, store it on the server. Or use cookies.
- snaky 7y agoSure, but are there any people or companies who would willingly pay for this kind of web applications?