roblox-tsr
roblox-ts3mo ago
15 replies
Zolo

JSX not working in react project.

I can't seem to figure out why the JSX isn't working In my react project. I have the JSX compiler option set but I'm still getting errors when trying to compile the Typescript.

"jsx": "react",
"jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment",
Solution
you need .tsx for react
Was this page helpful?