Rooks

useSetState

About

Manage the state of a Set in React. Exposes add, delete and clear methods along with the current set to easily manipulate values in a set.

Examples

import { useSetState } from "rooks";
export default function App() {
  useSetState();
  return null;
}

On this page