Skip to content

Missed update in diamond-derived stores #613

@igorkamyshev

Description

@igorkamyshev

What is the current behavior:

$store.update missed in some narrow case. We can see only one watcher's trigger.

Please provide the steps to reproduce and if possible a minimal demo of the problem via https://share.effector.dev, https://codesandbox.io or similar

https://share.effector.dev/2IjuEI7T

What is the expected behavior:

Two watchers' triggers — initial and first update.

Which versions of effector packages, and which browser and OS are affected by this issue? Did this work in previous versions of effector?:

22.1.1 and later.

Notes

This example will be working correctly if we add scope.getState-call or remove combine call.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreeffector packagefork api

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions