I'm fairly new to Redux (and especially Redux Toolkit) and cannot wrap my head around the following issue. I'm rewriting old code with Toolkit. I understand tha
I am working on a job portal, I get user authentication using JWT and store it in local storage. I get hydration error in my header component when authenticated
I want to show the value of injurydiseases in the frontend of Animals AnimalModel.js injurydiseases: { type: mongoose.Schema.ObjectId, ref: 'injurydisea
I am using two inputs with their respective buttons, whenever I click button1 of the input1 the API is called which returns the text that should be bind to seco
I've been following along the REDUX essentials guide and I'm at part 8, combining RTK Query with the createEntityAdapter. I'm using the guide to implement it in
How do I store an array of objects that have arrays as value in Redux where the value is an array of items and key is a string like the name. I have to store so
I am using a spring boot backend with a react.js frontend for a web application. Once a user is logged in, it directs the user to their Profile where they will
I want to add the macchines in machine array so I defined a specific component with add function in it. So when I add the "process" in "processes" array then it
I am trying to Display list of items with then name and button to download its respective file Same list are available in different other screens. When I click
Here, I'm getting data from API in array of objects format. i'm showing each object data in a section, for that each section i need to add a like button. Defaul
I may be mixing best practices between React and Angular... in React, does this incur performance penalties or memory issues? I know it's not good practice. In
I'm trying to implement infinite scrolling and it's supposed to work by getting data in pages from the API...and then using the IntersectionObserver API, checki
I have a screen where on click on image I need to open camera and take photo, I successfully open camera, take a picture but when I need to call the endpoints i
How do I access previous state inside the callback function in react? Because once I access data it is always returning an initial state version, since I use us
Question I am using Redux Toolkit and I want to store an action creator in state. When I do this, I receive an error regarding non-serializable values in my act
I'm trynig to implement authentifiaction slice in redux toolkit with typescript, but typescript is complaining about rejectWithValue error type and the action p
I've been doing freecodecamps Drum Machine app. I was able to complete the app completely with React but I made a copy to try and get familiar with using react-
Every time I press the favorites button it gives me an error. TypeError: undefined is not an object (evaluating 'state.favoriteBooks.findIndex') This error oc
Here after successfull login im directing to homepage. But how can show whether the user is logged in or loggedout in homepage.here i have attached my codesanbo
i created cypress project for that i run npm init -y to generate package.json file then npm i cypress to create a cypress project. then opened it via npx cypres