Questions tagged [rematch]
The rematch tag has no usage guidance.
13
questions
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>(...
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 ...
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 } ...
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, ...
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 ...
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(...
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 ...
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 {
...
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 ...
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 ...
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)?...
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 ...
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 ...