Skip to content
Nick Wylynko edited this page Nov 17, 2022 · 5 revisions

Welcome to the react-raw-hooks wiki!

This stores examples and documentation of the hooks in this module.

Hooks

  • useCount - A simple counter / number hook
  • useArray - simple array, pop, push and shift your way
  • useMap - Making the Map class natively in react, like an object but better
  • useSet - The Set class natively in react, its like an array but unique
  • useInput - A tiny hook to simplify working with
  • useQueue - Sometimes you need to run things sequentially, here ya go
  • useMatrix - A 2d array of arrays, good for games or layouts
Clone this wiki locally