modular-redux-thunk icon indicating copy to clipboard operation
modular-redux-thunk copied to clipboard

A ducks-inspired package to help organize actions, reducers, and selectors together.

Results 4 modular-redux-thunk issues
Sort by recently updated
recently updated
newest added

Correct code is : ``` import React from 'react'; import { Provider, connect } from 'react-redux'; import { store, selectors, pickActions } from './reducers'; // Create the connected component class...

This idea probably needs a few revisions before it's workable in the library. I've noticed that it is convenient to add actions and selectors in a combined module... for example:...

I've noticed a very common pattern when writing single-value modules: ``` js const someValue = { reducer: (state = null, action) => { switch (action.type) { case SOME_ACTION: return action.payload...

Some module's reducers only respond to global or higher-level actions, and don't have any actions of their own. It would be nice to not have to specify an `actions: {}`...