1- # rc-mutate-observer
1+ # @ rc-component/ mutate-observer
22
33MutateObserver for React.
44
5- [ ![ NPM version] [ npm-image ]] [ npm-url ] [ ![ dumi] ( https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square )] ( https://github.com/umijs/dumi ) [ ![ build status] [ github-actions-image ]] [ github-actions-url ] [ ![ Codecov] [ codecov-image ]] [ codecov-url ] [ ![ npm download] [ download-image ]] [ download-url ]
65
7- [ npm-image ] : http://img.shields.io/npm/v/@rc-component/mutate-observer.svg?style=flat-square
8- [ npm-url ] : https://www.npmjs.com/package/@rc-component/mutate-observer
9- [ github-actions-image ] : https://github.com/react-component/mutate-observer/workflows/CI/badge.svg
10- [ github-actions-url ] : https://github.com/react-component/mutate-observer/actions
11- [ codecov-image ] : https://img.shields.io/codecov/c/github/@rc-component/mutate-observer/master.svg?style=flat-square
6+ [ ![ NPM version] [ npm-image ]] [ npm-url ]
7+ [ ![ npm download] [ download-image ]] [ download-url ]
8+ [ ![ build status] [ github-actions-image ]] [ github-actions-url ]
9+ [ ![ Codecov] [ codecov-image ]] [ codecov-url ]
10+ [ ![ bundle size] [ bundlephobia-image ]] [ bundlephobia-url ]
11+ [ ![ dumi] [ dumi-image ]] [ dumi-url ]
12+
13+ [ npm-image ] : https://img.shields.io/npm/v/@rc-component/mutate-observer.svg?style=flat-square
14+ [ npm-url ] : http://npmjs.org/package/@rc-component/mutate-observer
15+ [ github-actions-image ] : https://github.com/react-component/mutate-observer/actions/workflows/main.yml/badge.svg
16+ [ github-actions-url ] : https://github.com/react-component/mutate-observer/actions/workflows/main.yml
17+ [ codecov-image ] : https://img.shields.io/codecov/c/github/react-component/mutate-observer/master.svg?style=flat-square
18+ [ codecov-url ] : https://app.codecov.io/gh/react-component/mutate-observer
19+ [ david-url ] : https://david-dm.org/react-component/mutate-observer
20+ [ david-image ] : https://david-dm.org/react-component/mutate-observer/status.svg?style=flat-square
21+ [ david-dev-url ] : https://david-dm.org/react-component/mutate-observer?type=dev
22+ [ david-dev-image ] : https://david-dm.org/react-component/mutate-observer/dev-status.svg?style=flat-square
1223[ download-image ] : https://img.shields.io/npm/dm/@rc-component/mutate-observer.svg?style=flat-square
13- [ download-url ] : https://www.npmjs.com/package/@rc-component/mutate-observer
24+ [ download-url ] : https://npmjs.org/package/@rc-component/mutate-observer
25+ [ bundlephobia-url ] : https://bundlephobia.com/package/@rc-component/mutate-observer
26+ [ bundlephobia-image ] : https://badgen.net/bundlephobia/minzip/@rc-component/mutate-observer
27+ [ dumi-url ] : https://github.com/umijs/dumi
28+ [ dumi-image ] : https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square
1429
1530## Development
1631
@@ -22,13 +37,13 @@ open http://localhost:8000
2237
2338## Install
2439
25- [ ![ @rc-component/mutate-observer ] ( https://nodei.co/npm/mutate-observer.png )] ( https://www.npmjs.com/package/@rc-component/mutate-observer )
40+ [ ![ @rc-component/mutate-observer ] ( https://nodei.co/npm/@rc-component/ mutate-observer.png )] ( https://www.npmjs.com/package/@rc-component/mutate-observer )
2641
2742## Usage
2843
2944``` tsx | pure
3045import React from ' react' ;
31- import MutateObserver from ' ./src ' ;
46+ import MutateObserver from ' rc-component/mutate-observer ' ;
3247
3348const onMutate = (mutations : MutationRecord [], observer : MutationObserver ) => {
3449 console .log (mutation );
0 commit comments