We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing a file in routes/ that has a default export will cause a full reload, rather than use HMR.
routes/
HMR should work like in all other files
Steps:
routes/index.tsx
IHaveHMR.tsx
routes/MeToo.tsx
i like hmr, nuff said
No response
The text was updated successfully, but these errors were encountered:
This is expected, see: https://github.com/solidjs/solid-refresh?tab=readme-ov-file#how-it-works
We used to have this feature before but it was problematic, so always give components a name.
Relevant Discord discussion: https://discord.com/channels/722131463138705510/722131463889223772/1216948069602689155
Sorry, something went wrong.
@lxsmnsyc only allowing named components makes sense, but is that the reason why ButNotMe doesn't have HMR even though it's named?
ButNotMe
@Brendonovich the transform is correct for this one, however I'm confident that something else might be contributing to this behavior, maybe Vinxi.
No branches or pull requests
Duplicates
Latest version
Current behavior 馃槸
Editing a file in
routes/
that has a default export will cause a full reload, rather than use HMR.Expected behavior 馃
HMR should work like in all other files
Steps to reproduce 馃暪
Steps:
routes/index.tsx
, but works inIHaveHMR.tsx
androutes/MeToo.tsx
Context 馃敠
i like hmr, nuff said
Your environment 馃寧
No response
The text was updated successfully, but these errors were encountered: