Closed keichinger closed 6 years ago
To reduce external dependencies it'd be pretty handy to have a native support to get, set and remove cookies.
There's already a great amount of cookie libs with a small footprint that we can have a look at:
https://github.com/js-cookie/js-cookie https://github.com/fend25/strg.js https://github.com/florian/cookie.js
From the API standpoint my favourite is JsCookie, which even handles JSON out of the box, which is something we should do as well.
To reduce external dependencies it'd be pretty handy to have a native support to get, set and remove cookies.
There's already a great amount of cookie libs with a small footprint that we can have a look at:
https://github.com/js-cookie/js-cookie https://github.com/fend25/strg.js https://github.com/florian/cookie.js
From the API standpoint my favourite is JsCookie, which even handles JSON out of the box, which is something we should do as well.