{"componentChunkName":"component---src-templates-blog-js","path":"/blog/2015/08/03/new-react-devtools-beta.html","result":{"data":{"markdownRemark":{"html":"<p>We’ve made an entirely new version of the devtools, and we want you to try it\nout!</p>\n<p><img src=\"/f57ae67cfaa1fe76880654e2eddbf71f/devtools-full.gif\" alt=\"The full devtools gif\"></p>\n<h2 id=\"why-entirely-new\"><a href=\"#why-entirely-new\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Why entirely new? </h2>\n<p>Perhaps the biggest reason was to create a defined API for dealing with\ninternals, so that other tools could benefit as well and not have to depend on\nimplementation details. This gives us more freedom to refactor things\ninternally without worrying about breaking tooling.</p>\n<p>The current version of the devtools is a fork of Blink’s “Elements” pane, and\nis imperative, mutation-driven, and tightly integrated with Chrome-specific\nAPIs. The new devtools are much less coupled to Chrome, and easier to reason\nabout thanks to React.</p>\n<h2 id=\"what-are-the-benefits\"><a href=\"#what-are-the-benefits\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>What are the benefits? </h2>\n<ul>\n<li>100% React</li>\n<li>Firefox compatible</li>\n<li>React Native compatible</li>\n<li>more extensible &#x26; hackable</li>\n</ul>\n<h2 id=\"are-there-any-new-features\"><a href=\"#are-there-any-new-features\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Are there any new features? </h2>\n<p>Yeah!</p>\n<h3 id=\"the-tree-view\"><a href=\"#the-tree-view\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>The Tree View </h3>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/e6fb2a1f2ea4b574edf85c8fc8c6f571/78958/devtools-tree-view.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 22.380952380952383%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAECAIAAAABPYjBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAwUlEQVQI13WOW3aDIBQA3f/C+tHTxhOxUUnwBQJBIBovkDY01A10ZgEzWXr9Wm5XPoGoKV+FfgZ4bnfwjx0fY0z/k4WHn0fRvp/p8VCd8k8sUDExfGFMTtIowaygVtKrFpvzwYcA3rkNPICDDAC0MV1OyBvqyo+2OPSkzyuNiRrxuStR3XNGkGm+umHkl5K1La1rUpzoQLO9vr8tw8005n4do6y+7YzZyy4/STWJHWmIyrskVzf181CwZfc2I+W1+wPb8dvpjlcCfgAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"The new tree view of the devtools\"\n        title=\"\"\n        src=\"/static/e6fb2a1f2ea4b574edf85c8fc8c6f571/1e088/devtools-tree-view.png\"\n        srcset=\"/static/e6fb2a1f2ea4b574edf85c8fc8c6f571/65ed1/devtools-tree-view.png 210w,\n/static/e6fb2a1f2ea4b574edf85c8fc8c6f571/d10fb/devtools-tree-view.png 420w,\n/static/e6fb2a1f2ea4b574edf85c8fc8c6f571/1e088/devtools-tree-view.png 840w,\n/static/e6fb2a1f2ea4b574edf85c8fc8c6f571/78612/devtools-tree-view.png 1260w,\n/static/e6fb2a1f2ea4b574edf85c8fc8c6f571/78958/devtools-tree-view.png 1320w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>Much richer view of your props, including the contents of objects and arrays</li>\n<li>Custom components are emphasized, native components are de-emphasized</li>\n<li>Stateful components have a red collapser</li>\n<li>Improved keyboard navigation (hjkl or arrow keys)</li>\n<li>Selected component is available in the console as <code class=\"gatsby-code-text\">$r</code></li>\n<li>Props that change highlight in green</li>\n<li>\n<p>Right-click menu</p>\n<ul>\n<li>Scroll node into view</li>\n<li>Show the source for a component in the “Sources” pane</li>\n<li>Show the element in the “Elements” pane</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"searching\"><a href=\"#searching\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Searching </h3>\n<p>Select the search bar (or press ”/”), and start searching for a component by\nname.</p>\n<p><img src=\"/9e5f4fcd1569e0ff017320590aafbc85/devtools-search.gif\"></p>\n<h3 id=\"the-side-pane\"><a href=\"#the-side-pane\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>The Side Pane </h3>\n<ul>\n<li>Now shows the <code class=\"gatsby-code-text\">context</code> for a component</li>\n<li>Right-click to store a prop/state value as a global variable</li>\n</ul>\n<p><img src=\"/f3552d987634913612d6f06248fd303d/devtools-side-pane.gif\"></p>\n<h2 id=\"how-do-i-install-it\"><a href=\"#how-do-i-install-it\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>How do I install it? </h2>\n<p>First, disable the Chrome web store version, or it will break things. Then\n<a href=\"https://github.com/facebook/react-devtools/releases\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">download the .crx</a> and\ndrag it into your <code class=\"gatsby-code-text\">chrome://extensions</code> page. If it’s not working to drag it\nfrom the downloads bar, try opening your downloads folder and drag it from\nthere.</p>\n<p>Once we’ve determined that there aren’t any major regressions, we’ll update\nthe official web store version, and everyone will be automatically upgraded.</p>\n<h3 id=\"also-firefox\"><a href=\"#also-firefox\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Also Firefox! </h3>\n<p>We also have an initial version of the devtools for Firefox, which you can\ndownload from the same <a href=\"https://github.com/facebook/react-devtools/releases\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">release page</a>.</p>\n<h2 id=\"feedback-welcome\"><a href=\"#feedback-welcome\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Feedback welcome </h2>\n<p>Let us know what issues you run into\n<a href=\"https://github.com/facebook/react-devtools/issues\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">on GitHub</a>, and check out\n<a href=\"https://github.com/facebook/react-devtools/tree/devtools-next\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">the README</a>\nfor more info.</p>\n<h2 id=\"update\"><a href=\"#update\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Update </h2>\n<p><em>August 12, 2015</em></p>\n<p>A second beta is out, with a number of bugfixes. It is also listed on the\n<a href=\"https://github.com/facebook/react-devtools/releases\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">releases page</a>.</p>","excerpt":"We’ve made an entirely new version of the devtools, and we want you to try it\nout! The full devtools gif Why entirely new?  Perhaps the biggest reason was to create a defined API for dealing with\ninternals, so that other tools could benefit as well and not have to depend on\nimplementation details. This gives us more freedom to refactor things\ninternally without worrying about breaking tooling. The current version of the devtools is a fork of Blink’s “Elements” pane, and\nis imperative, mutation…","frontmatter":{"title":"New React Devtools Beta","next":null,"prev":null,"author":[{"frontmatter":{"name":"Jared Forsyth","url":"https://twitter.com/jaredforsyth"}}]},"fields":{"date":"August 03, 2015","path":"content/blog/2015-08-03-new-react-devtools-beta.md","slug":"/blog/2015/08/03/new-react-devtools-beta.html"}},"allMarkdownRemark":{"edges":[{"node":{"frontmatter":{"title":"Introducing the New JSX Transform"},"fields":{"slug":"/blog/2020/09/22/introducing-the-new-jsx-transform.html"}}},{"node":{"frontmatter":{"title":"React v17.0 Release Candidate: No New Features"},"fields":{"slug":"/blog/2020/08/10/react-v17-rc.html"}}},{"node":{"frontmatter":{"title":"React v16.13.0"},"fields":{"slug":"/blog/2020/02/26/react-v16.13.0.html"}}},{"node":{"frontmatter":{"title":"Building Great User Experiences with Concurrent Mode and Suspense"},"fields":{"slug":"/blog/2019/11/06/building-great-user-experiences-with-concurrent-mode-and-suspense.html"}}},{"node":{"frontmatter":{"title":"Preparing for the Future with React Prereleases"},"fields":{"slug":"/blog/2019/10/22/react-release-channels.html"}}},{"node":{"frontmatter":{"title":"Introducing the New React DevTools"},"fields":{"slug":"/blog/2019/08/15/new-react-devtools.html"}}},{"node":{"frontmatter":{"title":"React v16.9.0 and the Roadmap Update"},"fields":{"slug":"/blog/2019/08/08/react-v16.9.0.html"}}},{"node":{"frontmatter":{"title":"Is React Translated Yet? ¡Sí! Sim! はい！"},"fields":{"slug":"/blog/2019/02/23/is-react-translated-yet.html"}}},{"node":{"frontmatter":{"title":"React v16.8: The One With Hooks"},"fields":{"slug":"/blog/2019/02/06/react-v16.8.0.html"}}},{"node":{"frontmatter":{"title":"React v16.7: No, This Is Not the One With Hooks"},"fields":{"slug":"/blog/2018/12/19/react-v-16-7.html"}}}]}},"pageContext":{"slug":"/blog/2015/08/03/new-react-devtools-beta.html"}},"staticQueryHashes":[]}