I learned about how much I didn't understand react on my 2nd dev job. I had like 2yoe with react previously. There's a lot about it. Mostly tricks. hacks and work arounds for it's abysmal 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.