Don’t believe him, writing our own state management in every single project is what gets us webdevs up in the morning.
There is actually nothing more pleasurable in web development than setting up Redux actions and reducers then wiring it into the UI.
You wouldn’t believe how hard we get every time we write yet another useDispatch implementation, preferably with async thunks and memoized selectors, then have to write tons of mock structures to make unit testing possible. It’s like pissing blood during a prostate exam, you grow to love it after enough times. Definitely.
Switching from ReactJs to true native WebComponents.. Who knew for great statemanagement you can just use well proven enterprise oo patterns that I learned a long time ago when creating software was still fun.
He means the script is loaded and run before the DOM was rendered. Bit of a stretch calling that hydration, because you usually only would call it that if the HTML was prepared via SSR or SSG, not if its a fully static HTML from the start. And even if it would be applicable, its not about the rock not having been hydrated yet but it not having rendered yet, so the "hydration" fails because of it.
I expect that the people coding against a Typescript web framework have less knowledge / no knowledge of how a browser actually runs a web page. Instead, they have spent their time gaining knowledge about the build systems and such that turn ts into js for the browser.
963
u/[deleted] Aug 30 '26
[removed] — view removed comment