You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// src/module/index.ts functionregisterDynamicModule<S>(dynamicModule: Mod<S,any>,modOpt: DynamicModuleOptions){if(!modOpt.name){thrownewError('Name of module not provided in decorator options')}if(!modOpt.store){thrownewError('Store not provided in decorator options when using dynamic option')}////if(import.meta.hot){// Hot update of vite. if(modOpt.store.hasModule(modOpt.name)){// Hot update if duplicate modules are encountered. modOpt.store.hotUpdate({modules: {[modOpt.name]: dynamicModule}})return}}////modOpt.store.registerModule(modOpt.name,dynamicModule,{preserveState: modOpt.preserveState||false})}
The text was updated successfully, but these errors were encountered:
For example
The text was updated successfully, but these errors were encountered: