Closed nagarajasr closed 5 years ago
because of the way i was bundling the application dependencies, i ended up having multiple copies of react in the final bundle which caused this issue. fixed the bundling configuration to resolve the issue.
so even though npm ls react
was showing only one version of react, the actual bundle had multiple copies.
i'm getting a minified react error 321 - https://fb.me/react-invalid-hook-call when using default import LoadingBar if i switch to importing named export LoadingBar the error goes away but no loading bar is displayed. the rendered div is empty.