Skip to content

How to have a snapshot with resolved reference #1935

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

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

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@EmilTholin

Answer selected by EmilTholin

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