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.1.6 + Preact >= 10.25.1 = 21kB
- Fastify server dev/prod
- 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 [email protected]:evgenyantipin/nextjs-starter.git my-project
cd my-project
yarn
yarn start