Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 297 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 297 Bytes

A package for cookies in react

This package is a simple react hook for cookies. It allows you to get and set cookies in your react application.

How to use:

npm install cookies-react
import useCookie from 'cookies-react';

const cookie = useCookie('myCookie');