This is a fully working example of Next.js >= 15 running on Preact instead of React.
This reduces the base JavaScript weight of pages to ~22kB.
- Next.js 15.0.3 + Preact = 21kB
- Fastify server
- Preact optimization enabled reduces the base JavaScript weight of pages to 21kB
- State management with redux
- wretch A tiny wrapper built around fetch with an intuitive syntax
- Prettier task on pre-commit with husky
git clone git@github.com:evgenyantipin/next-redux-starter.git my-project
cd my-project
yarn
yarn start