We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18105cb commit 03126fdCopy full SHA for 03126fd
packages/node_modules/overmind-vue/src/index.ts
@@ -296,4 +296,13 @@ export function createReactionHook<Config extends IConfiguration>() {
296
297
return overmindInstance.reaction
298
}
299
+}
300
+
301
+export function createHooks<Config extends IConfiguration>() {
302
+ return {
303
+ state: createStateHook<Config>(),
304
+ actions: createActionsHook<Config>(),
305
+ effects: createEffectsHook<Config>(),
306
+ reaction: createReactionHook<Config>()
307
+ }
308
0 commit comments