Skip to content

Observable Proxy instance #2588

Answered by urugator
Joozty asked this question in Q&A
Discussion options

You must be logged in to vote

You have to do it other way around this.params = new Proxy(observable({}))
Calling extendObservable on proxy could be a bit tricky, not sure.
If I may suggest, don't use proxy for this, keep validation inside action that adds the value to the object.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Joozty
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
Converted from issue

This discussion was converted from issue #2588 on November 03, 2020 12:35.