title: React Dev Tools: "parse hook names" action throws a "Hook parsing failed" error
body: <p>When I inspect my code using the react devtools, I'm noticing some hooks trigger this error and cause the &quot;parse hook names&quot; action to error out. When I inspect the react dev tools, it outputs:</p>
  <pre><code>main.js:4878 Error: Could not find runtime location for line:177321 and column:81
      at Object.originalPositionFor
  </code></pre>
  <p>Following from <a href="https://github.com/facebook/react/issues/22328" rel="noreferrer">this thread on Facebook/React issues</a>, 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.</p>
  <p><a href="https://i.stack.imgur.com/Smv6K.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Smv6K.png" alt="React Dev Tools" /></a>
  <a href="https://i.stack.imgur.com/B7wr7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/B7wr7.png" alt="react dev tools error" /></a></p>