When I inspect my code using the react devtools, I'm noticing some hooks trigger this error and cause the "parse hook names" action to error out. When I inspect the react dev tools, it outputs:
main.js:4878 Error: Could not find runtime location for line:177321 and column:81
at Object.originalPositionFor
Following from this thread on Facebook/React issues, it seems like it might be webpack sourcemap related. Does someone have any ideas as to what could be causing this? It's happening not just with custom hooks, but standard useState and useCallback hooks in my codebase.