Skip to content

Instantly share code, notes, and snippets.

@polotek
Created April 4, 2014 23:52
Show Gist options
  • Select an option

  • Save polotek/9985338 to your computer and use it in GitHub Desktop.

Select an option

Save polotek/9985338 to your computer and use it in GitHub Desktop.
Single page apps and "fast switching"
"broad question: how does fast load work? site is a one page app, switches categories similarly, but no URL relation."
https://twitter.com/drewdil/status/452228299150721024
@polotek

polotek commented Apr 5, 2014

Copy link
Copy Markdown
Author

@OscarGodson I want to hear more about why you think the first method it's tougher to maintain. Obviously I know the app state problems you're referring to because we used to work on them together :) I'm just not sure why you feel they're connected to this method of maintaining urls. In my mind, app state is a general problem with single page apps and the challenges are present in both of these approaches.

@polotek

polotek commented Apr 5, 2014

Copy link
Copy Markdown
Author

Oh, maybe you're referring to having hard coded urls throughout the app. That's definitely a problem when you want to change them. Changing them in one place is great. But you also have to support redirecting from the old form the url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment