fuse-box / fuse-box/react-example

I think this example is a good sell for ts & fuse-box

未关闭
#14 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
70
派生
36
PR 合并指标
30 天内没有已合并 PR

描述

If I understand the tsconfig correctly, you've basically replaced babel with ts AND made ts stop complaining. More people should know about this as it lets them code as if they we're in babel (and not get any ide complains/build errors), but add a ts file (maybe just some interfaces to get good hinting) here and there. This is like the incremental adoption sell from flow. I'd recommend making this example more prominent (maybe a blog post) and explaining it's benefits/inner workings in detail. (tsc may be faster/less bloated/easier to config than babel as well). I think that would get a lot more people to try out fuse-box and ts (and we can shift the standards to our liking...muwahah).

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先查看现有的 React 示例及其 tsconfig,然后比较该示例如何将 TypeScript 与当前的 Fuse-box 设置结合使用。完成的标准是让增量采用示例更加突出,并添加对其优势和内部工作原理的清晰说明,也可以将其作为一篇博客文章。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
documentation
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。