Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useCookie - Feature request #456

Open
divagueame opened this issue Nov 24, 2023 · 1 comment
Open

useCookie - Feature request #456

divagueame opened this issue Nov 24, 2023 · 1 comment

Comments

@divagueame
Copy link

divagueame commented Nov 24, 2023

Hi!
I wanted to add/modify some cookies on a project using Stimulus and thought something like this might be available on stimulus-use, but it's not. I've been messing around with a possible implementation of it in stimulus-use, to have simple getters/setters for cookies in the stimulus controllers.

I wouldn't mind putting together a PR for this if there's some interest in having something like this added to the project.

@marcoroth
Copy link
Member

marcoroth commented Nov 26, 2023

Hey @divagueame, please feel free to explore a useCookie mixin, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants