react-nook
v0.2.0
Published
An alternate reality where React hooks can be called conditionally.
Readme
⚛︎ React Nook
An alternate reality where React hooks can be called conditionally.
🚧 Under Construction 🚧
Getting started
Install using your favorite package manager:
npm install react-nookThen import it into your project:
import { nook } from 'react-nook';
// ✨ Create conditional nooks from your
// existing library of hooks, no rewrite
// necessary!
const mountMyFeature = nook(useMyFeature);Documentation
Visit the React Nook docs to learn how to give your existing hooks the ability to run conditionally. You can also find demos to play with!
