Skip to content

Issue with Vite HMR #531

@annavik

Description

@annavik

This is a development only issue, nothing that will affect users.

Sometimes Vite HMR (hot module replacement) enters a state where updates are triggered repeatedly when not needed. We can see a warning in the console when this happens. If you have an old laptop, development can become a bit slow when this happens.

Skärmavbild 2024-08-21 kl  12 49 07

The problem seems to be related to component exports. There is a lint plugin we could use to automatically detect problematic exports.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions