joshwilsonvu / babel-plugin-hoist-constant-jsx-attributes Goto Github PK
View Code? Open in Web Editor NEWPrevents unnecessary rerenders and GC pressure by hoisting constant objects out of JSX attributes and into the global scope, ex. for objects in a 'style' prop.
License: MIT License