Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You have to store state in the URL. Otherwise how can people link to particular "states" within your application? There would be no way to address them without being part of the URL.


I outlined a way to do this nearby. :) State can be stored using query parameters. If you have enough state that URIs become unwieldy, then the method I suggested nearby would work very well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: