Next.js Discord

Discord Forum

HMR not working

Unanswered
Atlantic salmon posted this in #help-forum
Open in Discord
Atlantic salmonOP
I am using Next: '14.2.5'

I dont know what the actual issue is. I researched a bit and read that it might be an issue with the .next folder. I deleted the folder and ran the project again but that doesnt work either.
Some said that it might be an issue with the module name case. I am not 100% sure if the naming convention I am using for my pages is correct or not.
E.g this is my current pages directory
1) /pages/assesment/index.tsx and the component itself is called Assessment
2) pages/login.tsx and the component name is Login

This is my next.config.mjs
const nextConfig = {
  reactStrictMode: true,
};

3 Replies

Spectacled bear
What is the error you are facing?
@Spectacled bear What is the error you are facing?
Atlantic salmonOP
The changes in the component are not reflecting until I manually refresh the page
The UI changes are working but the functions inside the component are not updating