- Notifications
You must be signed in to change notification settings - Fork0
adbutterfield/fast-refresh-express
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Example with:
- Express
- React v18
- styled-components
- TypeScript
- SWC
- Usingswc-loader forwebpack
- with the help of@swc/plugin-styled-components
- and@swc/cli to build server for production
- and@swc/register to compile server-side TypeScript at runtime for dev
- with tests using@swc/jest
- React Fast Refresh
- Using@pmmmwh/react-refresh-webpack-plugin
- and webpack-hot-middleware (thanks to@gatsbyjs/webpack-hot-middleware)
- Server side rendering
Currently, streaming render in React 18 + styled-components has some issues. Current rendering setup right not isn't ideal maybe, but it works!
Checkout theloadable-components branch!
Checkout thebabel branch!
Start:npm run dev
Runs at:http://localhost:3000
Build:npm run build
Start:npm start
npm test
About
Example with express, react, styled components, typescript, SSR, and react fast refresh
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.