Access document cookies with TypeScript 🍪
Posted on by Leonardo Lemos
The following is a utility function to set a cookie value on the client side:
The following is a utility function to read a cookie value by its name on the client side:
Like this post? Share it with your friends! 😃
Want to read it later? I recommend Instapaper!