tsonfeir@lemm.ee to Programmer Humor@programming.dev · 1 year ago“Hire me”i.imgur.comimagemessage-square112fedilinkarrow-up11.03Karrow-down119
arrow-up11.01Karrow-down1image“Hire me”i.imgur.comtsonfeir@lemm.ee to Programmer Humor@programming.dev · 1 year agomessage-square112fedilink
minus-squaretsonfeir@lemm.eeOPlinkfedilinkarrow-up5·1 year agoWhat were you doing that was getting poor performance?
minus-square______@lemm.eelinkfedilinkarrow-up8·1 year agoThere 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-squaretsonfeir@lemm.eeOPlinkfedilinkarrow-up3·1 year agoAhh 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-21 year agoI’m relatively new to React (about 8 months in with React Native). Can you give me some examples of abusing state?
What were you doing that was getting poor performance?
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?