I’ll be frank, there’s a lot of badly written React code out there. It’s really easy to slip into bad…