Skip to content

sudoaugustin/renex

Repository files navigation

renex

Useful react components

# Using Yarn
yarn add renex

# Using NPM
npm install renex

Components

  • 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 via navigator.clipboard API.

  • LocalStorage - Manage values in the local storage with global synchronization.

  • SessionStorage - Manage values in the session storage with global synchronization.