Dev server: Reverts to old client component code after page reload #1419
Replies: 5 comments
-
Hi, thanks for reporting. It sounds like a bug and it can be. |
Beta Was this translation helpful? Give feedback.
-
See above: "This is why I unfortunately can't provide a smaller reproduction. I was not able to see a difference between these client components that might cause this." |
Beta Was this translation helpful? Give feedback.
-
Yeah, I saw that. Let's reopen it when we know how to reproduce it. |
Beta Was this translation helpful? Give feedback.
-
Instead of closing, let's convert to discussion which is a little more visible. |
Beta Was this translation helpful? Give feedback.
-
Please try the latest version and see if the problem still persists, and
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Similar to issue #690, which was fixed in #724.
I started seeing it while working on this: https://github.com/s-h-a-d-o-w/vdbb-ui
HMR works but after a page refresh, the client code reverts to the previous state and the error appears.
It happens when changing a class name in the
Filters
component (also in its children).It doesn't happen e.g. in the
Results
,ResultsChart
(and its children) though. This is why I unfortunately can't provide a smaller reproduction. I was not able to see a difference between these client components that might cause this.UPDATE:
It's maybe worth pointing out that VectorDBBench includes a bunch of results when you clone it already. So to evaluate this, you don't have to more than clone both projects and point to the results directory in .env.
Beta Was this translation helpful? Give feedback.
All reactions