import { type ReactConfig } from "https://deno.land/x/live@1.56.1/deps.ts";
Properties
Replace the function used when compiling JSX expressions.
Defaults to React.createElement
.
Replace the component used when compiling JSX fragments.
Defaults to React.Fragment
Toggles whether or not to throw an error if a XML namespaced tag name is used. For example:
<f:image />
Though the JSX spec allows this, it is disabled by default since React's JSX does not currently have support for it.
Toggles plugins that aid in development, such as @swc/plugin-transform-react-jsx-self and @swc/plugin-transform-react-jsx-source.
Defaults to false
,