In the below example, I am trying to send data using POST using RTK query and CRUD but facing error 404
While running below code, I am facing “Error: 404 Async is in anonymous await”. There are two files provided app.js and second file is api.jsx. I am using RTK query and doing CRUD operation. While performing it I am sending data in posts and passing it to Adddata component after button click. But at the same time facing error 404.
how can I immediately updating data with redux when I fetch API ؟ [closed]
Closed 3 days ago.
how can I immediately updating data with redux when I fetch API ؟ [closed]
Closed 3 days ago.
RTK Toolkit store reducer that updates a list of objects conditionally causes UI lag and occasional crash
I have a dashboard that needs to maintain reasonably up-to-date data. I achieve this by using rtk-query with a pollingInterval
to fetch the data from my API periodically. The server maintains a short-lived caching layer to avoid multiple clients making redundant requests to the database. I also have a redux store that I update with this data, which is used throughout the application. The data polled is an array of fairly simple objects.
Todoapp using redux toolkit
How can I include date and time in my to-do app.
Redux-toolkit create different slices for different tasks
I’m creating an app when I have 2 pages one page will show all the posts of all the users and the second post will show all posts of the logged in user.
Block-scoped variable ‘imagesApi’ used before its declaration using createApi from redux toolkit
I follow the doc and I am not sure what I am doing it wrong.
I can see a action but value is not changing. Redux Toolkit
I’ve tried to do an example from the Redux Toolkit website and it simply doesnt work. I can see an action, but value isn
t changing. I’m new to RTK. Can you help me?
SyntaxError: Unexpected token ‘<', "<!doctype "… is not valid JSON using slice in `Redux_toolkit`
this is my productSlice.js
and used @reduxjs/toolkit
were i created a slice of BaseUrl which can be used insted of axios
dispatching an asyncThunk function from my component doesn’t work
My Component: