How I made our React app more performant (includes INP)
Introduction
I've been trying to reduce the number of re-renders in one of our features at work. It's a bit heavy on low-end phones. I ended up going down a rabbit hole of trying to understand re-renders in React.
It's been quite fun. If you're someo...
tigerabrodi.blog6 min read
Blessing Dawodu
Tech is life, pick a path and enjoy it!
I enjoyed the read. It gave a detailed explanation of the inner workings of react and the importance of React DevTools. I borrowed this part of the article, made it into my screen saver for reminder🎗️.
"When to use JSX variables You may have used JSX variables yourself to tidy up the code.
Only use them for static content. As soon as you start dealing with state of any kind, you should use a component.
Be careful though. "
Thank you.