Fuck your state management library.

denvercoder's tweet image. Fuck your state management library.

I know this isn’t a great practice but:


Yes? 😂


careful now you may summon a certain *cough* state machine *cough* person. Your code is not match for his X-calibur of a library


If I had like, I don’t know, two more hooks then MAYBE I would consider a library. 😂


How many tokens is too many?


Depends... if you’re at an arcade then there’s no such thing. 😂


Hey, I’d like to see you come up with a bunch of fake variable names in a few minutes for a joke tweet. 😂😂😂


This is like one of those Photoshops where someone tried to make the crowd look bigger and hope nobody notices the same guy in the red coat everywhere


Yes exactly right. I um started renaming them all and was like “wow this was a lot of work”. 😂


@Gomba662 Al parecer no soy el único que piensa eso jajaja


Naw that shit’s for losers. I like this. It’s WAY better. 😂 (It’s just a joke)


I know it's a gag, but those duplicates are giving me a headache 😂


They’re supposed to. 😂


This is awesome, until you have to pass them down to children components. 😂


Nope, just cram them up into LocalStorage and you’re golden. 😂


Looking at the replies, I don't know which ones are doing a reverse bluff and the ones that genuinely think that the author is having a meltdown 😅


I guess redux is out of vogue now? Isn't there a way to roll them up into an object or something?


It could technically be like this const [monolith, setMonolith] And when you update setMonolith({ ...monolith, token}) Would set the token value.


But is it against the law though... 😂


It’s a state of chaos. 😂


You're setting some variables multiple times, eslint would flag that before you execute. Then use formik and yup for forms, it's cleaner


🙏🏻 thanks for the tips... it’s my first day. 😂


United States الاتجاهات
Loading...

Something went wrong.


Something went wrong.