Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

State management, state manage management everybody yells when talking about web dev.

It’s not some sort of mystery, it’s just a global of your variables.

The example given clearly showed components backed by JavaScript. Which means you could implement a state management system in seconds.

But beyond that state management is overrated. I remember when react came out and somebody from face book was describing updating some pending message count number. And how they had trouble with it. The issue was they made shitty code, and the result of react was a solution that hid that shitty code. Because I bet to this day if you profile their example they still had the bug but the state management system silently hid it as a future performance problem.



The solution to not using a framework is... building your own framework? What problem does that solve?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: