News for hackers. Stuff that matters.
Re:Patterns.dev by zwnow on Thursday December 11, 2025 @02:45AM (#46228729)
For webdev especially everything I do is basically singletons... For UI state management its just perfect and that's about the hardest thing in web dev. Also easy to recover state with, in a SPA if a user refreshes the site. Or control whether a modal is open or not. Easy to centralize logic too... Never looked into any other patterns as a lot of them seem like bloat.

There are no comments on this comment yet.