i have my redux states setup like this rootState subState1 field1 field2 subState2 field1 field2 multiple sub
I am facing the problem of unauthorized 401. Done everything mentally possible, so posting it here with code and result pics. The data when accessed like this r
I have a file structure like below store index.js reducers organize index.js user index.js index.js trying to combine organize and user reducers to reducers/
Please read the details below of code enter image description here This MegaMenu Component import MenuIcon from '@mui/icons-material/Menu'; import './MegaMenu.c
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 cons
I am unsure why I cannot use onClick on this within map function???I am getting the data from useSelector in my redux file. Clicking the TestComponent does noth
Below are the package versions I'm using. React version - 16.13.1 react-router-dom version - 6.0.0-beta.0 react-redux version 7.2.0 Material UI version 4.11.0
How can I reduce the size of my QR Code scanner. When I am trying to apply style prop, its not working In below code my scanner is working but it is coming on f
I'm new to react and have just added some regex validation to a jsx file in an existing react project (created about 4 months ago) . After building a new bundle
I made the same model on the web and it worked, I tried to use shallowEqual of Redux as second parameter of useSelector function, also the _.isEqual of lodash
I keep getting this same error of undefined data for multiple components in my data, it was working fine but for some reason it stops in fetching data and start
I am new to using "@reduxjs/toolkit" (version "^1.5.1"). I am trying to remove an object from within the state's array (roundScore). This is usually something t
I'm trying to send a post request to my backend with axios, and my backend gets the values with no problem, but I want to set a state of (sent) to true when the
I have created a FlatList that renders names. Each row has its own button. When you click the button, the name is added to a list and the button should change c
In redux saga if we want to handle multiple promises, we can use all (which is equivalent of Promise.all): yield all( users.map((user) => call(signUser, u
I have React Component in componentDidMount fetch data from the server. The issue is componentDidMount called twice also the API called twice. I have a view inc
I'm using sockets to allow users to send messages in real-time. I read the RTK-Query documentation and saw an example for a query, where I would be fetching dat
I have two required fields in my form .I want the asterisk color should be red.Currently it is showing black .I am using material UI react library ? here is my
Many of the applications that I've seen or browsed through need to handle multiple different types of users whereby all users login / signup on one UI For examp
I built an application by using create-react-app, react-redux, react-router-dom, and material UI. The app uses Fetch API for http requests. It's working in Chro