The intermittent page crashes seemed to be caused by react 18, which is somewhat officially supported by docusaurus now, but not quite (the dependency resolver still recommends not using it).
The actual unoptimized stack trace was:
Unexpected: no Docusaurus route context found >> destroy is not a function
I'll make an issue upstream eventually, but this seems to fix things
The intermittent page crashes seemed to be caused by react 18, which is somewhat officially supported by docusaurus now, but not quite (the dependency resolver still recommends not using it).
The actual unoptimized stack trace was:
Unexpected: no Docusaurus route context found >> destroy is not a function
I'll make an issue upstream eventually, but this seems to fix things