You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
An import of batchingForReactDom generates a warning with newer version of mobx-react
How do you reproduce the problem?
Create a new TS/JS project that depends on the last version of patternfly/react-topology, and import VisualizationSurface component. Launch the project (in dev)
A warning appears in the browser's console : [mobx-react-lite] importing batchingForReactDom is no longer needed
Expected behavior
No warning
Is this issue blocking you?
Not really, it is just a bit dirty to keep this warning
What is your environment?
OS: Windows 10
Browser: Firefox
Version: 114.0.1
Any other information?
My suggestion would be to bump mobx-react to ^7.0.0, as the import of batchingForReactDom in VisualizationSurface.tsx won't be needed, so we would be able to remove it, which will remove the warning for any accepted version of this library
The text was updated successfully, but these errors were encountered:
Describe the problem
An import of
batchingForReactDom
generates a warning with newer version ofmobx-react
How do you reproduce the problem?
Create a new TS/JS project that depends on the last version of
patternfly/react-topology
, and importVisualizationSurface
component. Launch the project (in dev)A warning appears in the browser's console :
[mobx-react-lite] importing batchingForReactDom is no longer needed
Expected behavior
No warning
Is this issue blocking you?
Not really, it is just a bit dirty to keep this warning
What is your environment?
Any other information?
My suggestion would be to bump
mobx-react
to^7.0.0
, as the import ofbatchingForReactDom
inVisualizationSurface.tsx
won't be needed, so we would be able to remove it, which will remove the warning for any accepted version of this libraryThe text was updated successfully, but these errors were encountered: