TherouxSonfeir@lemm.ee to Programmer Humor@programming.dev · 2 年前“Hire me”i.imgur.comimagemessage-square81fedilinkarrow-up1879arrow-down118
arrow-up1861arrow-down1image“Hire me”i.imgur.comTherouxSonfeir@lemm.ee to Programmer Humor@programming.dev · 2 年前message-square81fedilink
minus-square______@lemm.eelinkfedilinkarrow-up8·2 年前There many ways of doing things in react and some are faster than others. I would abuse state and use effect at my old job but at this job my sr dev doesn’t allow me to use useffect unless the situation warrants it.
minus-squareTherouxSonfeir@lemm.eeOPlinkfedilinkarrow-up3·2 年前Ahh yes, abusing state can be temping. Just a little tweak here, it’s ok… no one is looking… oh crap!
minus-squareTitanLaGrange@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-22 年前I’m relatively new to React (about 8 months in with React Native). Can you give me some examples of abusing state?
There many ways of doing things in react and some are faster than others. I would abuse state and use effect at my old job but at this job my sr dev doesn’t allow me to use useffect unless the situation warrants it.
Ahh yes, abusing state can be temping. Just a little tweak here, it’s ok… no one is looking… oh crap!
I’m relatively new to React (about 8 months in with React Native). Can you give me some examples of abusing state?