The URI is the best place to store state

If you have state that can be stored in the URI, I highly suggest you store it there, because:

  • It’s understandable by the user
  • The user can easily change it
  • It can be easily shared
  • It can be easily saved / bookmarked
  • It’s had “Time Travel” since the first browser
  • Normal users can time travel through their state (no devtools)

Solutions Architect. Technical Lead. Full-stack Developer. http://craigmorris.io

Solutions Architect. Technical Lead. Full-stack Developer. http://craigmorris.io