Skip to main content

All Questions

0 votes
1 answer
482 views

Redux-observable dispatching multiple actions

I'm learning to use redux-observable and RxJS in react-native then I face a problem with dispatching multiple actions after performing a Firestore get document request. This is my epic: const ...
Hoài Vũ Lê's user avatar
0 votes
1 answer
92 views

'body' property missing on rxjs observable catch error

I have recently upgraded my react-native version from 0.59 to 0.62 after doing that I found that my Observable catch error is missing the body property, I have not made any code change and thus the ...
Saikat Saha's user avatar
0 votes
1 answer
1k views

Is there a way to send multiple actions from a pipe in redux observable?

Now all I wanted to do was before myAPI.postUserData(action.payload); I wanted to call PROFILE_FETCHING_DATA_LOADING for ActivityIndicator to appear but I am not able to do it. const ...
Rahul Shakya's user avatar
  • 1,425
0 votes
2 answers
112 views

Unable to resolve POST call on redux observable

I am working on a react native application and on having a POST call with Observable.fromPromise, I am getting the below response, but I am not sure how to capture the response in terms of code and I ...
Saikat Saha's user avatar
0 votes
0 answers
186 views

Getting error: "You provided an invalid object where a stream was expected" without react-native debugger

I'm a newbie and I have the code provided below which work excellent with react-native debugger connected, but without the debugger, I'm getting the error. Error connected to that line: return from((...
alex's user avatar
  • 139
1 vote
0 answers
316 views

Handling websocket connection the right way in React Native with redux-observable

I am working on a React Native app, in which I'm using redux-observable as a redux middleware for managing the app state. I have a websocket connection which is basically setup this way: let ...
romin21's user avatar
  • 1,651
0 votes
1 answer
1k views

Dispatching an action every second with redux-observable

With plain Rxjs, I managed to implement a "countdown" behavior by invoking a method each second like this, until there's no more time left: const time = 5 var timer$ = Rx.Observable.interval(1000) ...
romin21's user avatar
  • 1,651
0 votes
1 answer
1k views

Source.pipe is not a function with redux-observable / rxjs/operators

Handling a react-native redux-observable project (*sigh...). On the configuration of the store it seems I have an error but for the life of my I cannot know why. Getting the following screen on load. ...
Oliver Dixon's user avatar
  • 7,463
0 votes
0 answers
96 views

Using ThrottleTime with value 60000 is throwing a warning, should this be of concern?

I'm using an epic that runs every 60 seconds. With that value I'm getting a warning: Setting a timer for a long period of time, i.e. multiple minutes, is a performance and correctness issue on ...
Robel Robel Lingstuyl's user avatar
0 votes
1 answer
659 views

Sequencing two actions together using an epic in redux-observable

I am building an application with react-native using redux-observable. Right now I am struggling to do a simple decoration over two actions in redux-observable by using an epic. What I am trying to ...
Deniss B.'s user avatar
  • 281
1 vote
2 answers
212 views

Use one output of epic as another input of epic in react observable

I'm using react-observable to develop a react-native application. I have two epics, one is used to fetch the latitude and longitude, and another is used to get the address through the latitude and ...
Wendy Chen's user avatar
1 vote
1 answer
3k views

Redux-observable POST ajax request never sends the network request

I have this redux-observable epic that POSTs a json body to my backend, but it never actually gets so far as to send the actual network request. It uses Rx.DOM.Request.post(url, [body]) (I think? ...
BeniaminoBaggins's user avatar
3 votes
1 answer
1k views

redux-observable to get current location

I'm trying to use react native Geolocation to getCurrentPosition and then as soon as the position is returned, use react native geocoder to use that position to get the location. I'm using redux-...
BeniaminoBaggins's user avatar
1 vote
1 answer
331 views

redux-observable error provided "false" where a stream was expected

I have file epic (redux-observable) like this : export const intervalChartEpic = (action$, store) => action$.ofType(FETCHING_CHART_DATA_ONE_DAY_SUCCESS) .filter(() => (store.getState()....
Cong Linh Ha's user avatar
2 votes
1 answer
3k views

Handle exception in rxjs ajax.map call

I've created an epic based off the "fetch user demo" on the redux-observable website. I'm just wondering how I can add error handling to the ajax request. My attempt: const fetchCategoriesEpic = ...
BeniaminoBaggins's user avatar

15 30 50 per page