0đź‘Ť
Why are you saying “passing” in the parent component? The request made to laravel is in the child and according to my experience, setting the mutable value in the child and emitting an event to the parent after the request works fine. However, if you’re really passing the new value from the parent, the mutable value won’t be updated, since mutableValue
will only be set to value
when the child’s data is created. Subsequent changes of prop value
won’t change mutableValue
(tested in my project).
Source:stackexchange.com