Ember.js: Whats the difference between Router / Route and StateManager / State? -


it seems older examples of routing use statemanager , newer examples use concept of router. difference , why use 1 on other?

router , route subclasses of statemanager , state, routing specific code added directly statemanager code, in last few weeks effort has been made extract out.

basically use router core flow of app deals urls , forth, if need use additional state managers in other places in application, can use statemanager/state without routing code being included when it's not needed.


Comments

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -