Oct 29, 2020
Sure of course. In the app I mentioned, for example, I don’t use useMemo
but singleton
to interact with the worker, therefore they aren’t re-initialized. The point was to introduce the web worker with a simple example but for a real application, such concern have to be handled, agree with you.