-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
So that we can implement complex traversal logic, such as analyzing the route structure of React Router. It would look like this:
instrument(
secure({
onCommitFiberRoot(rendererID, root, _priority) {
const returns: Fiber[] = [];
traverseFiber(root.current, {
enter: fiber => {
// Do something with the fiber and returns.
// ...
returns.unshift(fiber);
},
leave: fiber => {
returns.shift();
}
});
}
})
);
Or you can just assign it to me. I can take care of it.
Metadata
Metadata
Assignees
Labels
No labels