Create-react-app: More support for react-router, Redux, TypeScript etc.

Created on 23 Dec 2016  路  4Comments  路  Source: facebook/create-react-app

Right now create-react-app just creates a app without interacting with the user and doing nothing. I'd like it to ask few things like:
Do you want to add Redux?
Do you want to use react-router?
What would you like to use for writing React? (ES6, TypeScript, etc)

If it's possible, if we generate everything from code coverage to transpiling, that'd be great.

All 4 comments

Run npm run eject, feel free to configure by yourself

We won't be adding more code generation for now. Generating code is highly subjective and people have different ideas about how to structure projects. We just want to provide a build pipeline, not a full code generator.

There are currently no plans to support TypeScript but you can search issues and pull requests for past discussions about it. I think there are some community maintained forks that do that.

Cheers!

Was this page helpful?
0 / 5 - 0 ratings