react-remove
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-beta.1 • Public • Published

react-remove

Removes elements from DOM on mount.

NPM Version Widget Build Status Widget Coverage Status Widget

Installation

npm install react-remove --save

Usage

import { Remove } from "react-remove"
 
const App = () => (
  <div>
    <Remove id="element-id" />
    <Remove id={["id1", "id2"]} />
  </diV>
)
 
ReactDOM.render(<App />, mountNode)

Readme

Keywords

Package Sidebar

Install

npm i react-remove

Weekly Downloads

2

Version

0.1.0-beta.1

License

MIT

Last publish

Collaborators

  • wikiwi