Skip to content

Allow dependency injectable reducers #65

Open
@mikemclin

Description

@mikemclin

Similar to dependency injectable middleware, allow the reducer to be a string of an Angular service as well, which would then be injected.

The reason why is because currently I can't seem to find a way to use the library in a project that doesn't use modules (not using webpack, browserify, etc). So, import reducers from './reducers'; won't work for me.

My main reducer is an Angular factory, and it consumes other reducers, which are also Angular factories.

It looks like you aren't actually creating the Redux store until after the config phase anyways (since you need to wait for the injectable middleware).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions