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 340f364 commit a395276Copy full SHA for a395276
packages/node_modules/overmind-react/src/index.ts
@@ -115,14 +115,14 @@ export const createHook = <Config extends IConfiguration>(
115
currentComponentInstanceId++
116
)
117
118
- tree.track((_, paths, flushId) => {
+ tree.track((_, __, flushId) => {
119
rerenderComponent()
120
overmind.eventHub.emitAsync(EventType.COMPONENT_UPDATE, {
121
componentId: component.__componentId,
122
componentInstanceId,
123
name,
124
flushId,
125
- paths,
+ paths: Array.from(tree.pathDependencies) as any,
126
})
127
128
0 commit comments