Skip to content

Current Data vs Data #2861

Answered by markerikson
abhieshekumar asked this question in Q&A
Nov 3, 2022 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Is it that data will have the freshest copy while current data holds on the data provided in last successful fetch.

Yep, this is it!

I was trying to log currentData here, but couldn't see it.

Looks like the sandbox is using RTK 1.6, and we added that in either 1.7 or 1.8. Bump the RTK version and it should be there.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@phryneas
Comment options

@josias-r
Comment options

@phryneas
Comment options

@wkigenyi
Comment options

@jtiret
Comment options

Answer selected by abhieshekumar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants