question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React DevTools `Show Source` is not working

See original GitHub issue

I tried to view source of component in React Panel

63cf1e54-bb59-4605-af03-4f8683ac69cd

But it ended up with somewhere in makeAssimilatePrototype.js

module.exports = function makeAssimilatePrototype() {
  var storedPrototype,
      knownPrototypes = [];

  function wrapMethod(key) {
    return function () {
      if (storedPrototype[key]) {
        return storedPrototype[key].apply(this, arguments);
      }
    };
  }

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
theKasheycommented, Nov 20, 2018
1reaction
theKasheycommented, Jan 17, 2019

@Bnaya - you need setConfig({pureRender: true});

Read more comments on GitHub >

github_iconTop Results From Across the Web

No Link to source-code in Chrome Devtools for React ...
When I click on components like for instance Evaluate Script, the blue links on the right hand side show. Isn`t source mapping supposed...
Read more >
How To Debug React Components Using React Developer ...
Open the console by either right-clicking and inspecting an element or by opening the toolbar by clicking View > Developer > JavaScript console....
Read more >
Optimizing Performance - React
If you're benchmarking or experiencing performance problems in your React apps, make sure you're testing with the minified production build.
Read more >
react developer tools does not showing components - You.com
If you don't see your component when searching by its name, then it means it is currently not being rendered. You need to...
Read more >
How to Hide your React Source Code from Chrome Dev Tools ...
This is not an issue with the create-react-app but all of the source code is added because of the source map which helps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found