I know this would vary depending on specific use cases but I want to know what the standard practices are. Let's say we have a darkmode option on our website and users can toggle it. And this change should be preserved. then I guess
cookies to send the user settings and store it somewhere in the backend?