Skip to content

Where are the props defined on a model actually processed and applied to an instance on .create()? #1734

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

You must be logged in to vote

This is where the actual application happens:

this._initialSnapshot = freeze(initialValue)

But this code is a bit difficult to follow, to be honest. I wish it was less complicated.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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