Tag: react
-
I learned React by looking at it. Yes, really. I inherited some React codebase since I was the only dev with JS knowledge on my team, and I had to figure out how to make it work. Since most change requests were small there was no need to reach out to the docs, and after…
-
Today I learned more about React memoization. I was stuck optimizing a component that was re-rendering too often and after digging a bit, some things stuck out to me. Memoization, for the uninitiated, is the process of storing the results of expensive function calls and returning the cached result when the same inputs occur again.…