souporserious / preact-signals-nextjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

preact-signals-nextjs

This is a simple Next.js app to demonstrate how preact-signals can break fast refresh in local development.

See preactjs/signals#250 for more details.

Steps to reproduce

  1. Edit the contents of pages/index.tsx and save the file. The page should fast refresh, but does not.

  2. Comment out the @preact/signals-react package and repeat step 1. The page should fast refresh as expected.

About


Languages

Language:TypeScript 100.0%