Skip to content

How to have a snapshot with resolved reference #1935

Answered by k-ode
Ziltosh asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the toJS utility method from mobx: https://mobx.js.org/api.html#tojs

Note that it won't work in your current example becuase the reference needs to be resolvable from the same tree.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by EmilTholin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants