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
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
This new version of Reps has some nice performances wins since it lazy loads properties, and thus shouldn't hang when expanding large arrays for example. It also fetches automatically properties, entries and symbols so the debugger will get everything for free (almost)
The code of the ObjectInspector was changed significantly in order to achieve that, so consumers need to change the props passed to it.
The main thing is that the ObjectInspector now expects a createObjectClient function, which will create an ObjectClient for a given grip, so you don't have to pass specific callbacks to fetch and get object properties, entries and symbols.
It also accept a releaseActor function that will release actors used to fetch properties (the root actors lifecycle still need to be handled by the debugger though).
I am not sure I'll have enough time to work on this issue for the debugger, given that I don't know the codebase. But I'll happily help and review if someone is willing to do it :)
The text was updated successfully, but these errors were encountered:
This new version of Reps has some nice performances wins since it lazy loads properties, and thus shouldn't hang when expanding large arrays for example. It also fetches automatically properties, entries and symbols so the debugger will get everything for free (almost)
The code of the ObjectInspector was changed significantly in order to achieve that, so consumers need to change the props passed to it.
As an example, see how this was done in the console.
The main thing is that the ObjectInspector now expects a
createObjectClient
function, which will create an ObjectClient for a given grip, so you don't have to pass specific callbacks to fetch and get object properties, entries and symbols.It also accept a
releaseActor
function that will release actors used to fetch properties (the root actors lifecycle still need to be handled by the debugger though).I am not sure I'll have enough time to work on this issue for the debugger, given that I don't know the codebase. But I'll happily help and review if someone is willing to do it :)
The text was updated successfully, but these errors were encountered: