Skip to content

applySnapshot when the model is using a preprocessor #1736

Answered by jamonholmgren
aqrojo asked this question in Q&A
Discussion options

You must be logged in to vote

@aqrojo You have to map the values the same way you did the first time. Here's how that works:

https://codesandbox.io/s/optimistic-borg-z79gm?file=/src/index.js

Replies: 1 comment 1 reply

Comment options

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

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