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

TypeScript & React integration not actively maintained? #90

Open
@bootstraponline

Description

@bootstraponline

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions