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
I'm using this to display mutable data, but when the data changes there is no way to force the inspector to show new values. If I collapse/expand the nodes, they update, but I want to show the changes immediately.
In my case, the object is linked to the entire app state, so cloning it is infeasible.
The text was updated successfully, but these errors were encountered:
Did you solve this? I've created a small example that shows how the ObjectInspector can be wrapped in a component that you manually forceUpdate when the object updates https://codesandbox.io/s/zk6lo7m473 .. and instead of passing the object, we pass a shallow copy to trick the ObjectInspector into updating.
I'm using this to display mutable data, but when the data changes there is no way to force the inspector to show new values. If I collapse/expand the nodes, they update, but I want to show the changes immediately.
In my case, the object is linked to the entire app state, so cloning it is infeasible.
The text was updated successfully, but these errors were encountered: