client-side cookie helper?
haven't seen anywhere in docs or other discussions but why are the cookie helpers (
getCookie, setCookie) only available on the server side? Why wasn't a client side helper exposed? I think digging through some of the code that it's using js-cookie lib which can definitely be used on the frontend.
So real only option now is for me to reinstall that package as well in user land.3 Replies
optimistic-gold•4w ago
we could add this for sure, just a lot of thing to do and this is easily done in Userland
rival-blackOP•4w ago
totally understand
generous-apricot•4w ago
Accessing cookie from the client side is not recommended though.