TanStackT
TanStack3mo ago
3 replies
hurt-tomato

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.
Was this page helpful?