Questions tagged [redux-loop]
9 questions
3
votes
1 answer
Complex redux-loop examples?
Are there any examples of using redux-loop to handle complex ajax workflows? The official repo is very minimalistic. From the one example in the wild I was able to find…

U Avalos
- 6,538
- 7
- 48
- 81
2
votes
1 answer
What is redux-loop and How can we use it in react native
What is redux-loop and what is the main purpose of using it in a React Native Application?

Rama
- 249
- 1
- 7
- 22
2
votes
2 answers
Are `redux-loop` and `connected-react-router` compatible?
I have made a simple react app with the sample code from the following blogpost, which I leave only as a citation. I am otherwise new to the javascript ecosystem and am trying to fit together several unfamiliar tools (in order to learn…

Richard Rast
- 1,772
- 1
- 14
- 27
1
vote
1 answer
How to access global state from redux-loop combineReducers?
I'm using react-loop, and I'm trying to use its combineReducers but extend it to pass as a third parameter the global state, basically implementing an API similar to https://github.com/Velenir/combine-reducers-global-state
Combine reducers basically…

alessandro308
- 1,912
- 2
- 15
- 27
1
vote
1 answer
Why redux-loop actions skip all middlewares?
I run redux-loop official example with a little change:
Instead of fetch I use promise with a timeout.
I added log middleware (copy-paste from redux.js.org tutorial).
side-effect function:
import {createStore, compose, applyMiddleware} from…

Stav Alfi
- 13,139
- 23
- 99
- 171
1
vote
1 answer
React Router with Redux Loop - Reducers may not dispatch actions
I'm trying to navigate to the previous screen after a redux action. I'm using react-router with react-router-redux and redux-loop.
Here's the scenario:
On the home screen that there's a list of users /home.
Tap on a user to go to their profile…

Zach
- 880
- 3
- 12
- 23
1
vote
0 answers
Redux Saga and Loop
I have a use-case where I need to integrate both Redux Saga and Loop. A naive implementation of the two together does not honor the custom CombineReducers of Loop, so when side-effects are introduced, the hidden array that stores Loop effects is…

Kirk Strobeck
- 17,984
- 20
- 75
- 114
0
votes
1 answer
Side effect function is not getting called in Cmd.run using redux-loop
I am working on a react redux application where in, on a button click I need to change my window location.
As of now, I am dispatching the button click action and trying to achieve the navigation in reducer using redux-loop.
Component js
class…

ShailyAggarwal
- 813
- 9
- 20
0
votes
1 answer
Redux-Loop dispatch not returning promise from reducer
I'm using v2.2.2 of redux-loop to handle my side-effects from a server call.
Having dispactched an action from my component like so:
checkStatus() {
const user = Utils.toJS(this.props.user);
…

Alex Chan
- 1
- 1