Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
92 views

I am working on a client app with React, Redux, and Redux-Observable, and I want to make a refresh request every time I receive an AccessDenied exception after the initial request. The problem is that ...
Davyd Melnychenko's user avatar
0 votes
1 answer
95 views

Now I'm working on website authentication, and I have added access and refresh tokens. I want to create an auto-refresh action to obtain a new access token. So, if my server returns an "access ...
Davyd Melnychenko's user avatar
0 votes
1 answer
63 views

I have two ducks (ui and backend) with epics in them. I need to trigger two actions after finishing backend operations One of these actions reside in the backend duck, the other in the ui duck. I ...
til's user avatar
  • 1,421
1 vote
0 answers
46 views

I'm trying to implement card game with redux-observables. And what I'm trying to achieve to draw cards for each player but this needs to be done sequentialy. But they probably run concurently because ...
Petr Velký's user avatar
0 votes
1 answer
241 views

I've recently checked this material (https://thecodebarbarian.com/a-beginners-guide-to-redux-observable.html) and tried something with a fetch request the way it says it's supposed to be, e.g. import {...
Vaios Anastasiadis's user avatar
0 votes
1 answer
1k views

I tried to follow the documentation and this is what I did middleware/index.ts import { combineEpics } from "redux-observable"; import userEpic from "./userEpic"; export const ...
sofronijev's user avatar
3 votes
0 answers
463 views

I'm bootstrapping a manifest-v3 extension project with react/redux and use a redux interface for chrome.storage called reduxed-chrome-storage for state synchronization across extension pages. I ...
v1s10n_4's user avatar
  • 727
1 vote
0 answers
308 views

So I am new to "rxjs" and redux-observables (worked with redux-saga before and familiar with the concept of reactive programming). What I want to know is how can I dispatch an action from an ...
Emanuel's user avatar
  • 183
0 votes
0 answers
193 views

I have a fairly standard React Native functional component that uses a selector to retrieve a view model from my Redux store(Using redux-observable for async actions), and render it on changes, pseudo ...
Jack Gallagher's user avatar
0 votes
0 answers
110 views

I'm trying to use redux observables with in a new project, but I cant figure out how to use "withLatestFrom". It used to work the way I implemented it but now I get the following error: '...
Buski's user avatar
  • 1
2 votes
0 answers
206 views

getStaticProps, getServerSideProps not currently work with redux-observable When am going to dispatch action from getServerSideProps it's fired and getting data but not updating redux reducer state, ...
uqutub's user avatar
  • 66
3 votes
0 answers
144 views

I'm trying to learn redux-observables but I seem to be having an issue getting my app to return data. I keep getting the error below and I'm not sure where I'm going wrong or what the error actually ...
Duong Hoang's user avatar
0 votes
1 answer
59 views

I'm using redux-observable in my nextjs web application. There is a variable which has to be set in epic1 and accessed later in epic2: let sharedVariable; const epic1 = (action$, state$) => { ...
HsnVahedi's user avatar
  • 1,374
0 votes
1 answer
250 views

I want to test this observable but I get NOTHING back from it: const fetchUsersApi = (action$: any) => action$.pipe( ofType(FETCH_USERS), mergeMap(() => from( API.graphql(...
pip's user avatar
  • 453
1 vote
3 answers
411 views

I would like to test the following epic: authEpics.logoutEpic = function (action$, _, deps) { return action$.pipe( ofType(authActions.logout), tap(() => { const { history, browser } ...
Anup Vasudeva's user avatar
2 votes
2 answers
406 views

I have my auth function using rxjs epics: export const authWithEmailPasswordEpic = action$ => action$.pipe( filter(authUser.match), switchMap(({payload}) => defer(() => ...
Jon Flynn's user avatar
  • 470
0 votes
1 answer
553 views

I'm trying listen to '@@router/LOCATION_CHANGE' action from typesafe redux-observable epic, and I just don't understand how. What is the exact action I need to filter? I tried 'filter(...
Buski's user avatar
  • 1
0 votes
2 answers
355 views

Have been trying to solve the issue for a while. Currently I have an array of objects (i call them tiles), which is pretty big. I have an API endpoint where I should send this objects one by one, this ...
Dominik Domanski's user avatar
1 vote
1 answer
3k views

I am planning to build a large React application which might contain hundreds of components. But not sure what state management system to use between Redux and Context API. Context API is in-built in ...
sonakshi chomal's user avatar
2 votes
1 answer
283 views

I'm attempting to use fp-ts and redux-observable to build some epics that process some api requests. I am having an issue with fp-ts-rxjs/ObservableEither#fold where if I do not cast my actions into ...
George S's user avatar
  • 333
2 votes
2 answers
384 views

Facing an error -> this.schedulerActionCtor is not a constructor I need help with this error. I get it from epicMiddleware.run(rootEpic) . Here is the source code - https://github.com/flipflopapp/...
navalsaini's user avatar
1 vote
1 answer
1k views

I'm a complete novice when it comes to Javascript. Please assist me in comprehending the concepts of Observables. Do Observables have a storage location, similar to how Web API requests are saved in ...
Abhijeet's user avatar
  • 638
4 votes
1 answer
2k views

Aight.. so im pretty new with redux toolkit and I want to catch ALL pending actions in one slice to basically show a loading modal. I know we can do this with redux-saga and probably redux-observable ...
Zohaib Ahmad's user avatar
0 votes
3 answers
888 views

I'm using Ngrx in my Angular application to fetch data from the store. I created multiple stores : context, decision and status to create a functional seperation between objects. I have a case where ...
Ghassen's user avatar
  • 801
0 votes
1 answer
394 views

React Error Boundaries don't work with asynchronous code. But I am using redux-observable and rxjs to fetch my data from my api. I want to catch the error with the catchError function of rxjs. Is it ...
Tommy's user avatar
  • 533

1
2 3 4 5
14