pub static RUNTIME_JSX_CALL_NAMES: &[&str]Expand description
List of valid JSX runtime call names to check against when determining if a call expression is a JSX runtime call. This includes both the classic React.createElement and the newer jsx/jsxs calls, as well as their DEV variants.
Supported:
-
React runtime:
_jsx,_jsxs -
React classic:
createElement,React.createElement -
Vue runtime:
_createElementBlock,_createElementVNode,_createVNodeThe DEV variants (e.g.,
_jsxDEV) are also included by checking for a “DEV” suffix, which is commonly used in development builds of React to provide additional debugging information.