Application state machine

Concept

Almost any action made on the application is saved in the browser history. You can directly see that by watching the change of the URL while you are navigating

For example :

The main properties to describe the current application state (what we call an HistoryState) are

In the code

There is an HistoryState class and an HistoryModule class to create and record the current HistoryState

The RouterModule loads the initial URL and parses it to determine the proper HistoryState

Mode, State and DataType are managed by a dedicated Manager (src/js/managers/data-type.manager.ts for example)

Continue with

Application main behaviour