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
Final checks
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:
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
Final checks