[compiler] InlineJSXTransform transforms jsx inside function expressions (#31282)
InlineJSXTransform wasn't traversing into function expressions or object methods, so any JSX inside such functions wouldn't have gotten inlined. This PR updates to traverse nested functions to transform all JSX within a hook or component. Note that this still doesn't transform JSX outside of components or hooks, ie in standalone render helpers.
J
Joseph Savona committed
cdde15efe189e8bebe227b7555e7cc95ad74deab
Parent: 915be0e
Committed by GitHub <[email protected]>
on 10/18/2024, 6:27:48 PM