1.1.3 • Published 2 years ago
@jdthornton/useinert v1.1.3
@jdthornton/useinert
React inert hook.
Install
$ npm install @jdthornton/useinert
Usage
import useInert from "@jdthornton/useinert";
function App({ removeInert }){
// '#root' element will be set to inert
useInert("#root")
return null
}