ts-transform-react-constant-elements (npm): This plugin can speed up reconciliation and reduce garbage collection pressure by hoisting React elements to the highest possible scope, preventing multiple unnecessary reinstantiations.
Keywords: typescript|transform|ts|react|constant|elements|ast|optimization