fuse-box / fuse-box/react-example
Why is a `transform-react-jsx` required
- 主要语言
- TypeScript
- 星标
- 70
- 派生
- 36
- PR 合并指标
- 30 天内没有已合并 PR
描述
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?
贡献指南
这个仓库没有索引到贡献指南
调研方向
The issue mentions the BabelPlugin, a custom tsconfig.json, and the default/index.jsx page. Start by reproducing the example with and without transform-react-jsx, then compare the generated output and browser behavior. Done means determining whether the plugin is required and documenting the working JSX configuration or the compilation problem.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100