Questions tagged [rematch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
452 views

RematchJS - how can I access the state in a model's effect without sending a payload to dispatch

I'm using RematchJS and I'd like to access the state in a model effect without sending a payload to the effect. The model looks something like this: export const session = createModel<RootModel>(...
buenon's user avatar
  • 145
2 votes
1 answer
138 views

Invalid Hook call on rematchjs

i'll have a reactjs website where i wanted to migrate from 'rtk' to 'rematch'. Inside my Navigation i'll have a theme switcher, which executes a dispatch on the rematch store. But I always get the ...
Simon Mayrhofer's user avatar
2 votes
2 answers
710 views

Getting the state with rematch

I am learning rematch/redux. I can't get the state to show with the API. I have the model imported in index.js along with the store and the provider. These are my reducers/effects: import { getItems } ...
Mario Garcia's user avatar
1 vote
1 answer
84 views

re.match returns false even when string pattern match

I am trying to match a pattern with the string, below is the code bool(re.match('.._.. abc_xycompanies_........_._zip(001)','23_61 abc_xycompanies_20201212_1_zip(001)')) The above code returns False, ...
Mrinal's user avatar
  • 105
0 votes
1 answer
429 views

Why does RematchDispatch give `never` type when there is a reducer and an effect with the same name?

I just upgraded from typescript 4.1.2 to 4.3.2 using Rematch. These rematch packages are used: "@rematch/core": "2.0.1" "@rematch/select": "3.0.1" and I faced ...
mway's user avatar
  • 3
1 vote
1 answer
3k views

How to fix Redux error: Minified Redux error #12

I've just upgraded all my react native app packages and now I'm getting this error when running the app in Xcode: INFO : BSG_KSCrashReport.c (1513): void bsg_kscrashreport_writeStandardReport(...
grabury's user avatar
  • 4,589
0 votes
1 answer
426 views

the state in rematch/core is not recorded

I am using the rematch / core library for the first time, a successful request for the internal url is made, but the data from the date is not written to the state, I cannot understand why, please ...
Sergey Eromchenko's user avatar
0 votes
1 answer
108 views

React native legacy navigator with rematch store issue on navigation

I want to use 2 different stores in a react native app. 1 is the simple redux store, and 1 of rematch which is just like a wrapper over it. I am trying something like this, store.js import { ...
varun 's user avatar
  • 45
0 votes
1 answer
266 views

Rematch Loading Typescript keep getting Reducer "loading" returned undefined during initialization

I'm using @rematch/core and @rematch/loading for my redux. Currently facing some issue. When I put loading plugin keep returning me Reducer "loading" returned undefined during initialization. import ...
ssuhat's user avatar
  • 7,307
0 votes
1 answer
1k views

Rematch for Redux: Setting State to that of the Payload when Signing Up

How do I set state to that of my payload? I would like my global state to have the recent changes, not the payload. Please could someone explain why/how this is happening? Do I need to create another ...
Michael Nouwens's user avatar
1 vote
1 answer
2k views

Rematch for Redux: Struggling to see state on different screens

I am new to Rematch for Redux. I am redoing my application using Rematch, but I do not know if I am doing any of this correctly? How/Where do I trigger my reducers and effects (Step 3 in Rematch Docs)?...
Michael Nouwens's user avatar
3 votes
1 answer
1k views

Cannot subscribe react-redux state in reactotron on ubuntu

I want to add reactotron to my react-redux app - I'm using rematch redux plugin. Redux works correct and I can also connect to reactotron desktop app, but I can not subscribe any state. When I want to ...
Marcin46's user avatar
  • 120
2 votes
0 answers
284 views

React redux notify rematch issue

Having trouble rendering Notify (notification component that is triggered onClick) component using rematch: redux framework to build store from models. dispatch(createNotification(config)) is being ...
Ruben's user avatar
  • 326