Relative Content

Tag Archive for reactjsredux-toolkitrtk-queryimmer.js

How debug updateQueryData from RTK query?

I need to sort out the data in the state for the first time after lifting the ban on anything, besides, I didn’t succeed. I want to see what is in the “changeable drafts” and “diary entries”, but console.log() does not work to update the query data. only two requests were launched. console.log(current()), when I don’t get any results after the request, the getState() call is started.getAllDiaryEntries is not defined.