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
And now I get a couple of new warnings, which actually cause the page not rendering at all.
This...
The provided component class (TableComponent)
has already been declared as an observer component.
... followed by:
The reactive render of an observer class component (TableComponent)
was overridden after MobX attached. This may result in a memory leak if the
overridden reactive render was not properly disposed.
This is how the HOC TableComponent is wrapped in an observer:
I don't quite understand what change is required as the TableComponent worked fine before. And I can't find any relevant answers out there. Any tips on how to resolve these would be highly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just recently upgraded to mobx v6, these are the current packages:
And now I get a couple of new warnings, which actually cause the page not rendering at all.
This...
... followed by:
This is how the HOC
TableComponent
is wrapped in anobserver
:I don't quite understand what change is required as the
TableComponent
worked fine before. And I can't find any relevant answers out there. Any tips on how to resolve these would be highly appreciated.Beta Was this translation helpful? Give feedback.
All reactions