Skip to content

Example with express, react, styled components, typescript, SSR, and react fast refresh

Notifications You must be signed in to change notification settings

adbutterfield/fast-refresh-express

Repository files navigation

fast-refresh-express

Example with:

About React 18 streaming render

Currently, streaming render in React 18 + styled-components has some issues. Current rendering setup right not isn't ideal maybe, but it works!

Like to use loadable-components?

Checkout the loadable-components branch!

Like to use babel?

Checkout the babel branch!

How to run locally

Start: npm run dev

Runs at: http://localhost:3000

How to run in production

Build: npm run build

Start: npm start

How to test

npm test