# handle-rc-tree

> A request tool based on fetch

Latest version **0.0.1** (published 2021-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install handle-rc-tree
pnpm add handle-rc-tree
yarn add handle-rc-tree
bun add handle-rc-tree
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2021-01-30 |
| First published | 2021-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 53.5 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Enivia |
| Maintainers | enivia |
| Keywords | rc-tree |

## Links

- npm: https://www.npmjs.com/package/handle-rc-tree
- Repository: https://github.com/Enivia/handle-rc-tree
- Issues: https://github.com/Enivia/handle-rc-tree/issues
- npm.io page: https://npm.io/package/handle-rc-tree

## Dependencies (1)

- [immer](https://npm.io/package/immer.md) ^8.0.1

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2021-01-30

## README

# handle-rc-tree

> use [rc-tree](https://github.com/react-component/tree) more simply

## Feature

There is no need to maintain a complex tree data structure externally, and you can easily use the API to update the tree.

## Example

run `yarn` & `yarn storybook`: http://localhost:6006/

## Install

## Usage

```tsx
import Tree from 'handle-rc-tree';

const App = () => {
  const treeRef = Tree.useTree();
  return <Tree ref={treeRef} />;
};
```

## API

| name   | description   | type                                           |
| ------ | ------------- | ---------------------------------------------- |
| data   | set tree data | `function(data): void`                         |
| insert | insert node   | `function(node, callback): void`               |
| remove | remove node   | `function(callback): void`                     |
| update | update node   | `function(node, callback): void`               |
| move   | move node     | `function(nodeCallback, parentCallback): void` |

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