Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wikiwi/react-remove
Remove elements from DOM on mount
https://github.com/wikiwi/react-remove
Last synced: about 2 months ago
JSON representation
Remove elements from DOM on mount
- Host: GitHub
- URL: https://github.com/wikiwi/react-remove
- Owner: wikiwi
- License: mit
- Created: 2016-10-27T14:45:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-20T10:41:15.000Z (about 8 years ago)
- Last Synced: 2024-10-31T19:48:37.630Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-remove
Removes elements from DOM on mount.
[![NPM Version Widget]][npm version]
[![Build Status Widget]][build status]
[![Coverage Status Widget]][coverage status]## Installation
```sh
npm install react-remove --save
```## Usage
```javascript
import { Remove } from "react-remove"const App = () => (
)ReactDOM.render(, mountNode)
```[npm version]: https://www.npmjs.com/package/react-remove
[npm version widget]: https://img.shields.io/npm/v/react-remove.svg?style=flat-square
[build status]: https://travis-ci.org/wikiwi/react-remove
[build status widget]: https://img.shields.io/travis/wikiwi/react-remove/master.svg?style=flat-square
[coverage status]: https://coveralls.io/github/wikiwi/react-remove?branch=master
[coverage status widget]: https://img.shields.io/coveralls/wikiwi/react-remove/master.svg?style=flat-square