To answer the question. Why did the rendering happen? 👀
➕ used directly for one component, therefore it works very fast
➕ for all versions of React from ^0.13.0 to ^16.0.0
➕ zero dependencies
npm install clear-render --save-dev
You can set globally, to be used in all their projects without having to install each.
Wrap the component for which you want to watch. And yet! 🏁
;;const SimpleComponent = ;...<SimpleComponent ...props />
Usage for CodePen and JSBin as UMD module
in html area
in js area use
clearRender from global scope
Got ideas on how to make this better? Open an issue!