Skip to content

Instantly share code, notes, and snippets.

@tylermcginnis
Created September 2, 2015 08:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylermcginnis/ce4c81b5aa3b2d8173f3 to your computer and use it in GitHub Desktop.
Save tylermcginnis/ce4c81b5aa3b2d8173f3 to your computer and use it in GitHub Desktop.
Highlight React Components
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