Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

TypeScript & React integration not actively maintained? #90

Open
bootstraponline opened this issue Nov 7, 2017 · 2 comments
Open

TypeScript & React integration not actively maintained? #90

bootstraponline opened this issue Nov 7, 2017 · 2 comments

Comments

@bootstraponline
Copy link

I've been researching the state of TypeScript & React. Officially there's a Create React App plugin system along with a TypeScript plugin. I think anything the TypeScript community can do to get those merged would be amazing.

Until then, we have create-react-typescript which is significantly out of date. I've rebased onto the modern create-react-app codebase and submitted a PR. Forking the entire create-react-app repo is unfortunate however it seems like the best approach for now.

I found out that create-react-app accepts a git url for the scripts. That's helpful for installing without having to release to npm.

create-react-app my_app --scripts-version=git+https://github.com/bootstraponline/react-scripts.git

Unfortunately, we lose the benefit of running the upstream CI on Travis with that approach.

Finally, I looked into react-app-rewired which has known issues. The TypeScript plugin is missing basic features like ts-jest.

The example in this repo has been broken for months due to out of date dependencies. It'd be nice to add more maintainers to keep things current as React evolves. Setting up Travis CI for this repo would be helpful as well.

@bootstraponline
Copy link
Author

FYI wmonk/create-react-app-typescript#183 has been merged and v2.9.0 has the latest changes. Microsoft/TypeScript-React-Starter can update to the newest version now.

@alecwhittington
Copy link

Any movement on this? We are needing to upgrade to the latest Jest to resolve some warnings that only get generated in tests (all around RAF).

Thanks @bootstraponline for knocking out the upgrade work!

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

No branches or pull requests

2 participants