3 ms·
Why that? I think the number of starter/boilerplate projects for React is already overwhelming. I wish create-react-app was the only one way to start a React p
by ggregoire 8y ago
Why that? I think the number of starter/boilerplate projects for React is already overwhelming.
I wish create-react-app was the only one way to start a React project, but it has its own limits:
- not intended for server-side React apps
- not intended for React components library
- not intended to be used with TypeScript but Flow (could change with the next major version tho)
Still, there are already so many alternatives, some of them just reinventing the wheel. Do we really need another one? I'm not sure.
- https://github.com/facebook/create-react-app https://github.com/facebook/create-react-app (50k stars)
- https://github.com/react-boilerplate/react-boilerplate https://github.com/react-boilerplate/react-boilerplate (19k stars)
- https://github.com/kriasoft/react-starter-kit https://github.com/kriasoft/react-starter-kit (18k stars)
- https://github.com/davezuko/react-redux-starter-kit https://github.com/davezuko/react-redux-starter-kit (10k stars)
- https://github.com/insin/nwb https://github.com/insin/nwb (3k5 stars, support Preact & Inferno & components libraries)
- https://github.com/zeit/next.js https://github.com/zeit/next.js (26k stars, server-side support, very opinionated)
- and so on… just type "react boilerplate/starter/toolkit" on google. Most of them are out-of-date and not maintained, making the process of choosing one ever more overwhelming.
- bpicolo 8y ago> not intended to be used with TypeScript Microsoft maintains the Typescript plugin. Works great. https://github.com/Microsoft/TypeScript-React-Starter https://github.com/Microsoft/TypeScript-React-Starter
- ggregoire 8y agoOh looks good, didn't know this one. But that's my point: another React boilerplate, this one with TypeScript. Also why they include Redux? It's not like adding Redux manually is that long or difficult. I guess some guy who doesn't want Redux will just fork this one and publish his own React-TypeScript boilerplate but including MobX, or some other state management library, or none. So another one…
- chrisco255 8y agoDo we really need another...? The answer is yes. We are an open source community, we share code and ideas and we build on those ideas and they lead to implications that weren't thought of before and someone releases a new library or framework that does something that works better for particular use cases and then the whole cycle starts over again. Some of these experiments will not stand the test of time, they'll be replaced by other things. Create-React-App is a great starter kit for React but you answered your own question: it doesn't cover all use cases. Bring on more starter kits, more libs, more frameworks, more languages, more experimentation and innovation because that's how we discover new paradigms that improve productivity, performance, etc. Software development is still a super young field and if we think we've already figured out the "best way" to make it, we're kidding ourselves.