Skip to content

Comment on Backbone.js adds Controllers and Historyparent

Comments

At the moment, you can do it by including "!" at the start of your routes. Perhaps it should be a configurable option...

We talked about it a bit, and the consensus was that "/#!/" URLs were a temporary hack that is obsolete now that "pushState" and "replaceState" are part of HTML5 -- you can now mint real URLs that are crawled by Google and are accessible from single-page apps as well.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.