-
-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
With hot module reloading you don't have to do a full page refresh to view the changes you made in the code. This is quite nice and makes iterating much faster. Pinia supports hot module reloading with code like this:
import { acceptHMRUpdate } from "pinia";
if (import.meta?.hot) {
import.meta.hot.accept(acceptHMRUpdate(useSomeStore, import.meta.hot));
}Also see: https://vitejs.dev/guide/api-hmr.html
Is something like this also possible for pinia orm? At the moment every time I change anything about a pinia-orm model it reloads the whole page. Is a hmr like with pinia possible?
Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Check existing discussions and issues.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request