r/ProgrammerHumor 2d ago

Meme ancientTools

Post image
5.8k Upvotes

387 comments sorted by

View all comments

Show parent comments

24

u/Samurai_Mac1 2d ago

Yeah. Although I don't miss having to implement my own state management in every single project.

1

u/renevaessen 2d ago

I wonder if you mean it.

1

u/ShadowfaxSTF 2d ago

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.

1

u/renevaessen 2d ago

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.