Replies: 1 comment
-
Yeah I think this is a case that the plugin doesn't handle well for now, you can open an issue for this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bunch of hooks that handle logic behind rendering tables.
For example:
And this returns the columns along with a bunch of functions also declared in the hook.
I use a
.tsx
file extension for this file to get proper syntax highlighting but also because using a.ts
extension causes all sorts of errors to pop out because the components and the jsx aren't recognised. But this causes thehmr invalidate
warning for consistent components exports.What is the correct way to handle this so that HMR works properly?
Beta Was this translation helpful? Give feedback.
All reactions