This is mostly removed now, but still needed for the root API path (api_dispatcher) and enabling analytics (analytics_dispatcher). There is also another global used for mocking login, which the e2e tests modify externally.
Getting further than this has proven problematic due to the event order of p-flux (specifically: state changes from an event are not guaranteed to have finished before the next event fires). This should be resolved when switching to redux in #13
This is mostly removed now, but still needed for the root API path (api_dispatcher) and enabling analytics (analytics_dispatcher). There is also another global used for mocking login, which the e2e tests modify externally.
Getting further than this has proven problematic due to the event order of p-flux (specifically: state changes from an event are not guaranteed to have finished before the next event fires). This should be resolved when switching to redux in #13