Skip to content

Current Data vs Data #2861

Answered by markerikson
abhieshekumar asked this question in Q&A
Nov 3, 2022 · 1 comments · 8 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 8 replies

Comment options

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

@wkigenyi
Comment options

@jtiret
Comment options

@nostrapollo
Comment options

@phryneas
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
7 participants