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

Maybe it is a little bit too vague question. @jeffbski, do you have experience with GraphQL/relay? What do you think what similar problems come up when using Relay (vs. Redux)...

When using thunks, UI side-effects such as route rediection, toast notifications etc, can be handled by chaining onto the promise returned by the thunk For example in a form submit...

question

Hi All, I've spent several days on this and cannot get it to work. I have to call multiple different dispatches on a loading screen. I've gone through the examples...

Enhance the validate block with a waitFor option. An example: During init, an application validates a user's session and populates auth state. Should a redux-logic function depend on auth state...

enhancement

Hello, I’m using redux-logic 0.15.0 and I’m getting the following error: • TypeError: Cannot read property 'toString' of undefined. I debugged the createlogic and createlogicmiddleware JavaScript files and found out...

I think it's very common that we need to intercept some actions like "Save" , then do some check i.e user log in or not. if not , then redirect...

question

Is this project still alive? :) Yes, I can return a rejected Promise containing the error object, but it feels unnecessary.

enhancement

Hey :) expanding on #82 I'm writing some kind of chat bot, and I got the following use case : User types something and hit "submit" I dispatch a specific...

discussion

Errors getting thrown inside logic handlers are swallowed and the only indication you get is the generic `warnTimeout`. I'm not sure of the intended behaviour here but it seems problematic...

Here's my demo code: ```js const FETCH_USER = 'FETCH_USER#auth#block-ui'; const actionAuthValidationLogic = createLogic({ type: /#\bauth\b/, validate({ getState, action }, allow, reject) { const { isLoggedIn } = selector(getState()); if (isLoggedIn)...

question