Is there an Ember.js equivalent for Backbone.js Router for changing history and hash?

In Backbone.js, you can use Router to bind to # changes to navigate a single-page HTML5 application.

Is there an equivalent for Ember.js? Or did I miss something fundamental in his design?

+4
source share
7 answers

It is planned to write a router for Ember. Most likely, it will be integrated with the Ember StateManager. At the moment, you can use sproutcore-routing or another routing solution. I am currently using sproutcore-routing successfully, but it has some limitations.

+4
source

You can also watch Ember RouteManager

+3
source

I would suggest that it was forbidden to make things "loosely coupled." You can use a standalone alternative like Sammy or http://davisjs.com/ .

+2
source

Sproutcore-Statechart (for Ember) also has routing support: https://github.com/emberjs-addons/sproutcore-statechart

+2
source

Starting with Ember 1.0, Ember has a built-in first-class router.

0
source

Source: https://habr.com/ru/post/1391334/


All Articles