A simple for server side rendering for your React application. This is a basic, bare-bones example of how to use @kkt/react-ssr-enhanced
and @kkt/ssr
.
Rematch is Redux best practices without the boilerplate. No more action types, action creators, switch statements or thunks.
React
+ React Router
+ Rematch
+ Express
⚠️ A perfect examplereact-router+rematch
is recommended for production environments.
npx create-kkt-app my-app -e react-router+rematch
cd my-app
npm start
development
Runs the project in development mode.
npm install
npm run start
production
Builds the app for production to the build folder.
npm run build
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
Runs the compiled app in production.
npm run server