Created
July 2, 2015 04:15
-
-
Save janx/329908f3df585be77645 to your computer and use it in GitHub Desktop.
A script to show which parts rendered by React
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setInterval(function() { Array.prototype.slice.call(document.querySelectorAll('[data-reactid]')).forEach(function(element) { element.style.background = 'rgba(255,0,0,0.1)'; }) }, 500) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment