Below is our manifest which has the information of every route the app has. It's statically generated by our babel-plugin at compile time.
It has the absolute minimal amount of information necessary so that it's possible for any route to dispatch actions to any other route.
Since createScene()
generates action creators from simply our routesMap types/keys, that's all we need to generate ALL ACTIONS. Well, there is a few small edge cases, but you got the idea.