SCsupercraft
SCsupercraft
SSolidJS
Created by SCsupercraft on 11/8/2024 in #support
SolidJS + Typescript
After trying to use solid with ts, I have found out that ts is still trying to use react for jsx. How can I fix this?
// src/Button.tsx
var Button = () => {
console.log("Hello from button component!");
return /* @__PURE__ */ React.createElement(React.Fragment, null);
};
// src/Button.tsx
var Button = () => {
console.log("Hello from button component!");
return /* @__PURE__ */ React.createElement(React.Fragment, null);
};
5 replies