2 ms·
This. 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 ... whatev
by tannhaeuser 7y ago
This. 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.