You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that state.user is initialized when the component is connected, changing <x-user id=8> to <x-user id=9> won't change state.user as connected() is not called anymore.
Suggestions:
adding a lifecycle event changed(prop, newValue, oldValue)
or auto calling a method onIdChanged(newValue, oldValue)
The text was updated successfully, but these errors were encountered:
When one property changed from attribute, I want to update another state attribute.
My app
x-user.js
Now that
state.user
is initialized when the component is connected, changing<x-user id=8>
to<x-user id=9>
won't changestate.user
asconnected()
is not called anymore.Suggestions:
changed(prop, newValue, oldValue)
onIdChanged(newValue, oldValue)
The text was updated successfully, but these errors were encountered: