Determines if a JSX element will result in a static template.
This function traverses the JSX tree to check if any custom element components
are present, which would make the template static.
Parameters
path: NodePath<JSXElement|JSXFragment>
The NodePath of the JSX element to analyze
Returns boolean
true if the template will be static, false otherwise
Determines if a JSX element will result in a static template. This function traverses the JSX tree to check if any custom element components are present, which would make the template static.