Hacker News new | ask | show | jobs
by phist_mcgee 1291 days ago
Everyone's a "pure html/css/js" gangster until they have to maintain state.
2 comments

Put your state in your urls, or in the user's session model, that's the only place state should be allowed to live :p
Unrelated to the debate at hand, my front-end team's junior members' only known design pattern is drop-all-state-on-refresh-driven-design and it pisses me off.

Basically every part of the website written before their time functions correctly.

I thought it's the other way 'round. Everyone loves their cool new reactive framework, until they have to tackle the state library/library helpers/library alternative/other library alternative/library helper maintainer social media posts.