antonioru / beautiful-react-hooks

🔥 A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development 🔥

Home Page:https://antonioru.github.io/beautiful-react-hooks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

useCookie

0529bill opened this issue · comments

Is your feature request related to a problem? Please describe.
missing a hook that allows user to access, update and delete cookies

Describe the solution you'd like
the hook should allow user to access, update and delete current cookies value

commented

hi @0529bill thanks for the suggestions, yeah I think that would be a great hook for the library.
Feel free to open a PR if you want to

hi, @antonioru do you mind taking a look at the changes I made regarding the new useCookie feature and giving me some advice and feedback! Thanks in advance. !!
useCookie

commented

@0529bill wow that's amazing!
Please open a PR!!! :) <3

commented

@0529bill do you think you can open a PR with your contribution?
I recently came across a use case where a useCookie hook would've solved my problem... I think we'll need to have it in the library soon :)

@antonioru yes! I would love to!

commented

thanks @0529bill well then I'll wait for your PR, please let me know if you need any help

Oh sorry, but I've been working on that since yesterday and I didn't notice someone going to work on it also :( There was not much activity on this issue so I decided to move on

@playerony actually i've been kinda busy lately.. so feel free to keep on working on this feature and make a pull request!

commented

ok then I'll check @playerony 's PR soon :)
thanks guys

commented

guys I'm closing this since it has been introduced by useCookie by @playerony #370

@0529bill your feedback is very welcome