HackerTrans
TopNewTrendsCommentsPastAskShowJobs

throwaway0asd

no profile record

comments

throwaway0asd
·4 года назад·discuss
State has nothing to do with the DOM. State is a data feature of your application which is not the DOM. It sounds like you are stuck in some inescapable framework mindset. If you can escape framework insanity state is an easily solved problem and the DOM stops being scary.
throwaway0asd
·4 года назад·discuss
Then stop using these large frameworks. You don’t need them. They aren’t there to build your product for you. They are there to ease hiring.

When you return to vanilla JS you have the freedom to dramatically reduce your code size and increase performance.

See this comment upvoted 27 times: https://news.ycombinator.com/item?id=32914694