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.
-
Edit the contents of pages/index.tsx and save the file. The page should fast refresh, but does not.
-
Comment out the
@preact/signals-react
package and repeat step 1. The page should fast refresh as expected.