redux-logic icon indicating copy to clipboard operation
redux-logic copied to clipboard

Redux middleware for organizing all your business logic. Intercept actions and perform async processing.

Results 62 redux-logic issues
Sort by recently updated
recently updated
newest added

We need to dispatch action in `cancelled$` observable subscriber. Is it OK? Our usecase is: ``` process({ cancelled$ }, dispatch, done) { const pid = Math.random(); // progress id dispatch(startProgress(pid));...

question

Our usecase is that we add toasts with payload `{ "type": "TOASTS_ADD", "payload" { "id": , "timeout": , "message": } }` and remove them with payload `{ "type": "TOASTS_REMOVE", "payload":...

question

I am using [redux-connect](https://www.npmjs.com/package/redux-connect) to load initial data. When using thunks, I can simply do: ```js const resolve = [{ promise: ({params, store}) => store.dispatch(init(params.layout)) }]; ``` `store.dispatch` returns a...

question

Is it possible to call the `done` callback automatically, if the `process` function is executed or the returned promise is resolved? I am revamping my current app to use redux-logic,...

question

I am using `redux-logic-test` for testing. I have a logic that initializes the socket and dispatches actions. `warnTimeout` is set to `0`. In my unit tests, I call `await store.whenComplete()`,...

question

Not sure if this is the correct place for this. I am currently using redux logic and i'm trying to deal with a paginated API. I am trying to pass...

question

It would be great to have retryWhen policy as a configuration to createLogic. So, it will be easier to implement retry policy without digging into observables. Ideally, just expose predicate...

request

I'm thinking it might be nice to create a separate helper project which will help make it easy to create mock stores for integration level tests. It would basically let...

enhancement
discussion

Please include all import statement in examples. Dont assume we know where things are being imported from. Also, just another point.. this is awesome. Also, any chance you can make...

discussion
request

I wanted to see if anyone has any thoughts about this. I'm thinking it would be best to deprecate the process hook's single-dispatch mode which comes into play when you...

breaking change
discussion