/parcel-hot-server-example

Minimal Parcel w/ server hot loading & React SSR example.

Primary LanguageJavaScript

Parcel Hot Server Example

This repo uses the elegant Parcel bundler to bundle a React SSR app with Hot Module Reloading on the client and server.

That means when you change your React code, the Node.js environment doing the static rendering is reloading along with the browser environment.

The main logic is in hotServerMiddleware.js

The technique is largely based on webpack-hot-server-middleware.