Skip to content

Effector react: unmounted component  #574

@mendrik

Description

@mendrik

What is the current behavior:

I'm getting a react error while modifying a store value on fx.done

  printWarning @ react-dom.development.js:67
  error @ react-dom.development.js:43
  warnAboutUpdateOnUnmountedFiberInDEV @ react-dom.development.js:23914
  scheduleUpdateOnFiber @ react-dom.development.js:21840
  dispatchAction @ react-dom.development.js:16139
  o2 @ apiBase.ts:131
  (anonymous) @ apiBase.ts:102
  fn @ createWatch.ts:8
  et @ kernel.ts:526
  o @ kernel.ts:389
  create @ createUnit.ts:151
  r2 @ createUnit.ts:142
  onFocus @ VisualNode.tsx:59

What is the expected behavior:

is that a problem with resolving promises in unmounted components? Since I don't use useEffect myself this seems like a bug in the library

"effector": "22.1.2",
"effector-react": "22.0.5"

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingeffector-reacteffector-react package

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions