Reduce Import Scope & Ignore Undefined Returns from Reducers
Based on the following issue: https://github.com/dacz/rxr/issues/4
Nevermind this still doesn't work. If the scan returns that state it also overwrites any states called by nested reducers.
Tried using an || instead of storing the object but seems to only work some of the time; I'm guessing it depends on the order of the reducers in the scan. It be great if there was a way to have the scan itself skip returning an item.
In the end I don't think this PR is going to resolve my issue. I think handling undefined is a good practice, but it seems if I don't return (state) > state, the scan will overwrite any changes to state by nested reducers. I've removed the undefined handler and now this PR is only about scoped imports. I'll continue comments in the issue ticket.