Useful react components
# Using Yarn
yarn add renex
# Using NPM
npm install renex
-
State
- Simple way to manage state -
Toggle
- Switch between given values(boolean by default). -
Effect
- Manage state and invoke callback when state changes -
Memo
- Memoize the children -
Portal
- Renders a React subtree in a different part of the DOM. -
Clipboard
- Talk to the clipboard vianavigator.clipboard
API. -
LocalStorage
- Manage values in the local storage with global synchronization. -
SessionStorage
- Manage values in the session storage with global synchronization.