-
-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Labels
bugSomething isn't workingSomething isn't workingeffector-reacteffector-react packageeffector-react package
Description
What is the current behavior:
With react 17 everything is fine, with react 18 (which was just released) useStoreMap doesn't work.
const works = useStore($myStore)
const doesntWork = useStoreMap($myStore, x => x)What is the expected behavior:
works and doesntWork should give the same result, since useStoreMap uses identity function as mapping.
Which versions of effector packages, and which browser and OS are affected by this issue? Did this work in previous versions of effector?:
effector: 22.2.0
effector-react: 22.0.6
sergeysova, demiazz, domosedov and igorkamyshev
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeffector-reacteffector-react packageeffector-react package