Skip to content

Play project with api, react, redux, server side rendering.

Notifications You must be signed in to change notification settings

tlivings/hapi-react-redux-ssr

Repository files navigation

Overview

This application is built on hapi with es6, react, redux, and webpack.

This is a simple example of providing server side rendering of universal react views with CSS, but without requiring webpack to compile the server code as well.

To accomplish server side rendering without using webpack, the entire project is transpiled using babel. Once this is done, webpack is run on the transpiled code to bundle the client side. Finally, the npm start script uses the hook css-modules-require-hook/preset to handle css imports in react views when rendering server side.

About

Play project with api, react, redux, server side rendering.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published