@skyverge/tackle-box
v0.5.0
Published
React hooks and helper functions for creating performant components and applicaitons
Downloads
5
Readme
SkyVerge Tackle Box
This consists of commonly used hooks, components, and helper functions for React projects. The main goal is to provide an opinionated and consistent approach to creating performant React applications and components.
Installation and Usage
The best and easiest way to use tackle-box is to install it from npm and build it into your app with Webpack or Parcel.
yarn add @skyverge/tackle-box // we prefer yarn
npm install @skyverge/tackle-box
To use tackle-box in your app, you will need to import the appropriate hook or function and call it in your components.
Hooks
useLocalStorage
— Set state that persistsusePrevious
— Keep track of previous valuesuseSubscribe
— Simple pub subuseBeforeUnload
— Messages before leaving a page
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!