Design Technologist @amazon. Love working on the web. Learn Elm. Christ is King.
…ence answered it in a great blog post! Read “React, Inline Functions, and Performance”. “In summary” (to quote the article:
Thinking in this approach, I’ve wrote react-sizes, a high-order component that handle all this work. You just need to pass the variables you want, based on the width and height of the windo…