"Remove" unneeded code for stateless boilerplate
See original GitHub issueDescription
Enhancement
Was looking an create-react-app and was inspired by the No Lock-In idea.
Problem There is still a lot to strip out when cloning this boilerplate.
The code that sits in this repository are useful examples of how one would implement certain features with the best practices - we strive for that.
However, I still find myself stripping out a lot of code I don’t need.
We’ve already done a decent job with abstracting out the DB connection in https://github.com/choonkending/react-webpack-node/pull/176 and https://github.com/choonkending/react-webpack-node/pull/190
Suggested enhancement
Have an npm run stateless
that:
- Runs
rimraf
to remove all the unneeded:- DB related and controller files - leaving only the server-rendering bit left
- Front end code that gets in the way of development (this will involve refactoring a bit of our component code perhaps)
If this gets shipped, and it works swimmingly well, I reckon we can bump our version to 2.0! Yay!
Pros
- Easy to start work immmeeeeddiatellyyy
- Feel like a thug
Including @caranicas @psimyn @jrodl3r @dzotokan and whoever has thoughts!
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (18 by maintainers)
Top GitHub Comments
It’s done! I’ve moved it 😂 😢 We’re now reactGo! Yay!
Vote for
ReactGO