You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a React project with a worker, and sometimes things like $RefreshReg$ calls end up in worker code, which breaks it.
If there was a way to control that, that would be fine, but the rules seem to be very arbitrary. For instance, the problem occurs if a function name starts with uppercase (and the module otherwise has nothing to do with React, no imports at all), but renaming it to lowercase fixes it?