You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm happy if JSX is supported by default. JSX is useful template engine for the server side. TypeScript officially supports JSX and have its transformation options --jsx--jsxFactory.
Currently Deno emits errors when compiling .tsx file even tough providing custom tsconfig.json file (It seems to be ignored 🤔).
On the server side usage, we don't need ReactDOM.render function that is based on DOM and only ReactDOMServer.renderToString like function is needed.
So, how about adding basic jsx transformer to xml string in Deno?
Default compiler options will be like below:
"jsx": "react","jsxFactory": "Deno.h"
The text was updated successfully, but these errors were encountered:
I'm happy if JSX is supported by default. JSX is useful template engine for the server side. TypeScript officially supports JSX and have its transformation options
--jsx
--jsxFactory
.Currently Deno emits errors when compiling
.tsx
file even tough providing customtsconfig.json
file (It seems to be ignored 🤔).On the server side usage, we don't need
ReactDOM.render
function that is based on DOM and onlyReactDOMServer.renderToString
like function is needed.So, how about adding basic jsx transformer to xml string in Deno?
Default compiler options will be like below:
The text was updated successfully, but these errors were encountered: