Suggested improvements
- Use promises instead of callbacks
- Simplify api to match
js-cookie--just need get, set, and remove; don't wanna deal with cookie strings
lets move to promises.
Happy to accept a PR
Using this in my project now, and would prefer promise-based APIs. Can I take a stab at this? @joeferraro @kaminskypavel
Absolutely On Thu, Mar 23, 2017 at 7:40 PM Yisheng Cai [email protected] wrote:
Using this in my project now, and would prefer promise-based APIs. Can I take a stab at this? @joeferraro https://github.com/joeferraro @kaminskypavel https://github.com/kaminskypavel
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/joeferraro/react-native-cookies/issues/44#issuecomment-288892956, or mute the thread https://github.com/notifications/unsubscribe-auth/AADTjd6oR_x8QoOLmfOMhkOc3QglSA0hks5rowLugaJpZM4KYlFk .
@ycai2 promises are in place, cheers