I often visit https://yjs.dev looking for a link to this discourse page; however, I notice that at least on Firefox, the page loads visually but it takes 2-3 seconds before I can click on the “Discuss” link. I assume this is because Yjs and its accompanying libraries (prosemirror, etc.) are doing a lot of background work.
My first question is, am I seeing a delay in Yjs startup time itself? (I don’t think this is the case, but I know earlier on, there was such an issue).
And second, if not, is there a best practice around “backgrounding” load times like this? Perhaps a worker thread? (I’m not very familiar with what this can do, but seems to help in similar situations).