3 ms·
If the app is MVC-structured you can store global state in the application object. Here's a simple example: https://github.com/edman3d/mvc-router/blob/master/De
by wisecommentator 8y ago
If the app is MVC-structured you can store global state in the application object. Here's a simple example:
https://github.com/edman3d/mvc-router/blob/master/DemoApp/Controllers/TransactionController.ts https://github.com/edman3d/mvc-router/blob/master/DemoApp/Co...
Some frameworks provide session state and cache to store global state. No need for actions, reducers etc.