Summary
There is currently no way to add actions dynamically.
- Why do I want the ability to add actions at runtime? (Code splitting, etc.)
- Why do I want code splitting?
- But why do you even need code splitting? Why not instead consider making a simpler app? If you've reached this extreme situation, why not creating multiple apps? Those should definitely be "code-splittable" without intervention from the core.
- Why not be aware that an SPA is no different from an actual app you'd download like from an "app store". What about implementing a one-time install screen?
- What about route-based code splitting? I think this is what Elm plans to do for 0.19.
- What would be the simplest, non-breaking way to add this functionality? How would it look like on a simple app?
Related
#439
Summary
There is currently no way to add actions dynamically.
Related
#439