dojo / interop

Provides bindings and interoperability between Dojo packages and other libraries
Other
1 stars 14 forks source link

Enhance Redux Injector to accept optional extra arguments #16

Closed agubler closed 6 years ago

agubler commented 6 years ago

Enhancement

It would be useful to be able to pass additional arguments that will get injected along with the redux store so that other resources can be made available when mapping properties in the getProperties function.

const injector = new ReduxInjector(store, { /* extra arguments */ });

And available for usage

getProperties({ store, extraOptions }) {
    // use extraOptions here
}