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

Feat/add useCookie composable #745

Merged
merged 10 commits into from
Feb 20, 2021
Merged

Conversation

jy0529
Copy link
Contributor

@jy0529 jy0529 commented Jan 30, 2021

Hi, pikax

I added a new composable that is useCookie, it used js-cookie library.

can you review this PR?

@pikax
Copy link
Owner

pikax commented Jan 30, 2021

Thank you for the PR, this one is a bit tricky because of the dependency to js-cookie.

vue-composable package should be dependency free (apart from vue) , but you can have it in other package (similar to @vue-composable/axios) where we can wrap it

@jy0529
Copy link
Contributor Author

jy0529 commented Jan 30, 2021

Thank you for the PR, this one is a bit tricky because of the dependency to js-cookie.

vue-composable package should be dependency free (apart from vue) , but you can have it in other package (similar to @vue-composable/axios) where we can wrap it

Thank you, I will contribute after learn @vue-composable/axios.🤗

@jy0529
Copy link
Contributor Author

jy0529 commented Jan 31, 2021

Hi, pikax

I added a new repo for useCookie and I learned a lot.

Copy link
Owner

@pikax pikax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, sorry for the delay.

Made a few changes

@jy0529
Copy link
Contributor Author

jy0529 commented Feb 10, 2021

Thank you, sorry for the delay.

Made a few changes

It's ok.

In china, these day are new year's day, best wish for you.

@pikax pikax merged commit 6bc9642 into pikax:master Feb 20, 2021
pikax added a commit that referenced this pull request Feb 20, 2021
* feat(composable): add a new composable

* chore: update tests to use fake timers

* refactor(use-cookie): add new repo for useCookie.

* chore: few changes

* chore: fix example on readme

* chore: remove extra peerDependency

* chore: build

Co-authored-by: pikax <carlos@hypermob.co.uk>
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

Successfully merging this pull request may close these issues.

None yet

2 participants