Use Closure to store variables to avoid re-render in ReactJS
Sean HS · 2020/2/20

Use Closure to store variables to avoid re-render in ReactJS

0 Reading0 Share

When do we have to store variables to the closure instead of the state?

Keywords
#react
#use
#reactjs
#store
#variable
More +2
Also Recommend These to You
Jen-Hsuan Hsieh (Sean Hsieh) | AWS (SAP, SAA, DVA)
Author
Software engineer focused on building scalable, data-driven systems with a strong emphasis on frontend architecture and visualization. Experienced with modern web technologies and AWS, with an interest in system design and performance.