fluxify
fluxify copied to clipboard
Passing 'undefined' to 'doAction' should throw error
I propose that flux.doAction(undefined)
should throw an error. This gives the developer a faster debugging feedback cycle by getting an error immediately whenever an invalid value is passed as an action name. Thoughts?