Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update React template to use Typescript #10

Open
sagiereder opened this issue Mar 31, 2023 · 1 comment
Open

Update React template to use Typescript #10

sagiereder opened this issue Mar 31, 2023 · 1 comment

Comments

@sagiereder
Copy link

Hello,

I noticed that the React template currently uses plain JavaScript and does not include Typescript. As Typescript has become the preferred language for many React developers and is already included in the Next.js template, I believe it would be valuable to update the React template to use Typescript as well.

In fact, I have found myself modifying the result of bun create react to Typescript multiple times lately. Therefore, I would like to propose this change and offer to write the necessary modifications.

@noahehall
Copy link

noahehall commented May 21, 2023

@sagiereder why would you need the typescript version? CRA will add a bunch of stuff you dont need in order to support it

bun treats typescript as a first class citizen and none of your downstream dependencies need configuring. add a tsconfig.json and everything should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants