fuse-box / fuse-box/react-example

Why is a `transform-react-jsx` required

Aperta
#5 12 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
70
Fork
36
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I was wondering why this example requires the `BabelPlugin`, since TypeScript can transpile `JSX` by itself.

Removing the plugin and using a custom `tsconfig.json` that sets `"jsx"` property to `"react"` works (at least it compiles), but the output seems to be broken. Opening the app in the browser is not possible -> `http://localhost:4444/default/index.jsx `

Is it not possible for FuseBox to compile JSX without any plugins?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.