Next.js Discord

Discord Forum

Fast-refresh doesn't work when editing a child client component inside of a server component

Answered
Asari posted this in #help-forum
Open in Discord
AsariOP
Is it normal folks that when editing a child client component the page don't get updated ? when I edit this page (page.tsx) it gets refreshed but when I change the contents of the client component the page don't refresh. I checked here : https://nextjs.org/docs/architecture/fast-refresh, forums etc, if everything is a server components then everything gets updated and no longer have the issue.

I just don't get it.
Answered by Asari
it was this tsconfig setting.
View full answer

4 Replies

AsariOP
There is logs that says that fast refresh has been triggered but no visual change is happening
i'm using next latest version
AsariOP
it was this tsconfig setting.
Answer
can anyone explain me why this works