Serious question: Why does anybody use Cookies? They have a negative connotation these days, and it’s a pretty lousy way to save state. I haven’t used cookies in years, I use local storage for anything that needs to be saved locally, and I send those values along in a header, payload, or parameter. Like you do everywhere else.
Every other development platform, other than the web, doesn’t natively support cookies (some have bad support as a 5th class citizen that are never used). Why does the web need them? Why use them?