Vebug
π A visual component debugger packaged as a React Component π
Easily visualize the total space of your components (including margin and padding)
-
Installation
# npm npm install -D vebug # yarn yarn add -D vebug
-
Wrap the component you want to debug
<Vebug> <YourComponent /> </Vebug>
Vebug will automatically calculate the DOM depth of your component and colorize every child element. Don't like the colors? Refresh and new colors will be generated.
Vebug works by overriding the CSS of its children, but will not override CSS styles defined directly on any component defined by ID.
- Reduced package size by 91%
- Added z-index indicator toggle
- Bug fixes
- Bug fixes
- Bug fixes
- First production release
MIT Licensed. Copyright (c) Stack Cache 2019.