ocular icon indicating copy to clipboard operation
ocular copied to clipboard

Revisit ToC backfill mechanism

Open ilijapuaca opened this issue 4 years ago • 1 comments

I ran into an issue where ToC backfill mechanism did not work properly in #342, but I do see it being brought up in a few other places. Simplifying the implementation around ToC generation would allow for quite a big chunk of complex code that handles race condition in node processing to go away, and would likely allow for easier maintenance.

One potential way to do this would be moving node processing from onCreateNode to sourceNodes, not sure if there are any practically issues with doing so, but it could be an easy transition

ilijapuaca avatar Jan 06 '21 16:01 ilijapuaca

cc @ibgreen

ilijapuaca avatar Jan 06 '21 16:01 ilijapuaca