Racket is a yeoman generator for creating universal/isomorphic web applications. One of the pains for developers who want to use React or want to develop universal apps was knowing which libraries to choose and how tie them up! Racket responds to this issue by giving you the option to choose the tools/technologies that you prefer the most and offering a good structure that you can maintain for years!
No need to copy or fork, just use the command-line generator!
Creating, developing and maintaining a universal react app had never been so easy!
Suggestion: I do recommend to create a simple app with React + Redux yourself, before using Racket.
First, note that you need to use npm 3. If you have not upgraded to npm 3, run:
npm i -g npm@3
generator-racket via npm:
npm i -g yo generator-racket
Create a directory for your app and cd into it:
mkdir my-awesome-app cd my-awesome-app
Then run the following command to start creating your app.
From each item with multiple options, you can choose the one you prefer:
- UI Library: React
- Flux Frameworks: Redux
- Redux Connect included.
- Async actions: Redux Thunk, Redux Saga
- Stylesheets: Sass, Less, PostCSS, CSS
- CSS Frameworks: Bootstrap
- Option to include React Bootstrap
- Module Bundler: Webpack + Webpack Isomorphic Tools
- Router: React Router + React Router Redux
To generate a component run:
yo racket:component <component-name> [--stateless]
To generate a new route and component run:
yo racket:route <component-name>
To generate a redux module run:
yo racket:redux-module <name>