# visual-box

> Draw a box on the re-rendering component.

Latest version **1.0.8** (published 2021-06-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install visual-box
pnpm add visual-box
yarn add visual-box
bun add visual-box
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2021-06-21 |
| First published | 2021-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Henry |
| Maintainers | henry_9 |
| Keywords | react, re-rendering, rendering, visualization, utility, optimization, performance |

## Links

- npm: https://www.npmjs.com/package/visual-box
- Repository: https://github.com/o-henry/render-box
- Homepage: https://o-henry.github.io
- Issues: https://github.com/o-henry/render-box/issues
- npm.io page: https://npm.io/package/visual-box

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.8 (latest) — 2021-06-21
- 1.0.7 — 2021-06-20
- 1.0.6 — 2021-06-20
- 1.0.5 — 2021-06-20
- 1.0.4 — 2021-06-20
- 1.0.3 — 2021-06-20
- 1.0.2 — 2021-06-20
- 1.0.1 — 2021-06-19
- 1.0.0 — 2021-06-18

## README

<div align="center">

<h1>Visual Box</h1>
<p>Provides visual rendering status of components.</p>

</div>

---

<br />

[![](https://shields.io/npm/v/visual-box)](https://www.npmjs.com/package/visual-box)

<h2>Purpose</h2>

Components wrapped in visual-box change color when rendering occurs. <br />
When you wrap a child component, you know if the child component is rendered simultaneously when rendering occurs in the parent component.

<h2>Installation</h2>

Visual Box is available as a package on NPM & YARN.

```
# NPM
npm install --save-dev visual-box

# Yarn
yarn add --dev visual-box
```

<h2>Examples</h2>

```js
import * as React from 'react';
import Box from 'visual-box';

function Button({ children }) {
  return <button>{children}</button>;
}

export default Box(Button);
// → export default Button;
```

- [**CODE-SANDBOX**](https://codesandbox.io/s/github/o-henry/react-performance)

<br/>

<div align="center">

![ezgif com-gif-maker](https://user-images.githubusercontent.com/48753593/122633016-2deba800-d111-11eb-86d4-6634e3674674.gif)

</div>

<h2>LICENSE</h2>

[MIT](https://github.com/o-henry/visual-box/blob/master/LICENSE)

---
_Source: https://npm.io/package/visual-box · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
