A simple, but often overlooked benefit of using the URL for state: It avoids...


A simple, but often overlooked benefit of using the URL for state:

It avoids having to pass around state.

Why? The URL is global. It's easily readable and writable, anywhere.

So, putting sharable data in the URL doesn’t just improve the user experience. It simplifies the code.

View original on X