Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 714 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 714 Bytes

currentView feature

The 'currentView' feature maintains the currentView (as a string).

This is a very simple process. It merely provides a cross-communication mechanism to:

  1. set the currentView ... app.currentView.actions.changeView(viewName)
  2. get the currentView ... app.currentView.sel.getView(appState)

It is up to the various view-specific features to set/interpret. A best practice would be to maintain the currentView value (viewName) using the active feature name.

State Transition

For a high-level overview of how actions, logic, and reducers interact together to maintain this feature's state, please refer to the State Transition diagram.