redux-observable Questions
1
Solved
I have an interface where the user may trigger calls to the same endpoint but with different params (in this case UUIDs). Up until now I've been enjoying the behavior of switchMap canceling my in-f...
Alithia asked 21/2, 2018 at 6:54
1
Solved
I have an Observable that I want to continue executing until:
1) the uploadActions.MARK_UPLOAD_AS_COMPLETE action is called with a certain payload
OR
2) the uploadActions.UPLOAD_FAILURE action i...
Deltadeltaic asked 9/2, 2018 at 15:54
2
Solved
In my reactjs redux application I'm using redux observable epics middleware for ajax requests to cancel some requests.
const epicRequest = $actions => {
return $actions
.ofType(MY_ACTION_TYPE...
Orchidectomy asked 5/2, 2018 at 7:3
1
Solved
Given the example of a download manager. There can be any number of active downloads.
Actions can be dispatched to start, stop, mark completion and mark the download progress of any particular do...
Bolzano asked 7/12, 2017 at 4:51
2
Solved
I have searched everywhere and cannot find an answer to the following...
In my addItemEpic I would like to dispatch a "loading" action before sending the ajax request - I DO NOT want the value of...
Enid asked 8/12, 2017 at 12:51
3
Very simple and common use case, but I can't find satisfying answer.
I have react native app which needs to store some data locally. I am using redux and redux-observables and Realm as a storage.
...
Daron asked 14/3, 2017 at 15:16
1
Solved
In redux-observable, epics are accepting stream of actions and returning back new stream of actions. In my use-case I need to send analytics event after some action was dispatched and do nothing af...
Vancevancleave asked 9/8, 2017 at 10:33
1
Solved
I have a use case where I need to wait for a sequence of actions before I dispatch another using Redux Observables. I've seen some similar questions but I cannot fathom how I can use these approach...
Gendarmerie asked 7/8, 2017 at 11:59
1
This question may be about redux-observable or rxjs or both.
I'm looking for a way to start, stop or resume an epic through specific actions. For example, the epic (that's already part of the epi...
Curare asked 6/8, 2017 at 3:18
1
Solved
I've ran into this issue quite a few times where I want to access action.payload further down the chain. But by then, the argument passed to mergeMap has already changed to something else.
Given m...
Amias asked 19/7, 2017 at 6:27
1
Solved
Trying to figure out how to get my epic going which will subscribe to a websocket and then dispatch some actions as the emitted events roll in from the websocket.
The sample I see are using a mult...
Gambier asked 13/7, 2017 at 0:15
2
Solved
I'm using the WebRTC library which has a very specific API. The peerConnection.setRemoteDescription method's 2nd argument is supposed to be a callback for when it finishes setting the remote descri...
Ethnic asked 9/5, 2017 at 6:21
2
Solved
I'am currently switched from promises to observables. I am using Redux-Observable for my react app. Basically, I am looking for the best operator that will enable mutliple, concurrent ajax calls an...
Written asked 30/3, 2017 at 1:16
1
Solved
Pretty new to redux-observables, rxjs and observables. Wanted to know how can I handle another action, say 'ActionTwo' in the same epic
const Epic1 = (action$,store) => {
return action$.ofType...
Falk asked 16/3, 2017 at 11:35
1
Solved
I am struggling to figure out how to fire multiple actions in a catch error handler in my epics.
I have successfully figured out how to fire multiple actions on a successful async call in my epics...
Diarmid asked 21/2, 2017 at 7:25
1
Solved
Is it possible to flow type check an observable? I am using redux-observable to build out epics that watch for actions to dispatch and, if there is a match, they run some async code. The action$ ar...
Dives asked 18/2, 2017 at 12:28
1
Solved
I have a redux Saga that runs three different actions every time 'WATCHLIST_FETCH_REQUEST' is dispatched:
function* watchFetchWatchlist() {
yield takeLatest('WATCHLIST_FETCH_REQUEST', fetchWatchl...
Pennsylvania asked 3/2, 2017 at 22:56
2
Solved
On RxJS - Goals I read that their goal is better debuggability:
Goals
Provide more debuggable call stacks than preceding versions of RxJS
I have just started to use redux-observable which ...
Markitamarkka asked 26/7, 2016 at 12:48
1
Solved
I am using redux to build a little fusball-manager. Basically it's a page that shows the score of both teams and some buttons to increment them. I have actions like { type:"GOAL_UP", team:"red" } f...
Yvonneyvonner asked 1/12, 2016 at 15:45
1
Solved
Might be that I'm a noob and not fully understanding how this stuff should work yet, but I have an epic in redux-observable in which I want to use as a way to create a promise which will dispatch a...
Cingulum asked 3/11, 2016 at 17:43
© 2022 - 2025 — McMap. All rights reserved.