Skip to content

Mutations without sending data to the server? #2790

Answered by markerikson
carloslaborde asked this question in Q&A
Discussion options

You must be logged in to vote

I'd definitely keep local WIP data separately if I personally was doing it, yeah. That's basically what I did wayyyy back in 2016 on my first Redux project, and later wrote about in a tutorial post:

That keeps a clear separation between "this is the data that matches what's on the server", and "here's what the user is currently editing".

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@carloslaborde
Comment options

Answer selected by carloslaborde
Comment options

You must be logged in to vote
1 reply
@phryneas
Comment options

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