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
{{ message }}
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Would it possible to add an oldState value object to the Javascript mixin stateChanged ? I'm using LitElement with Redux and it's a bit cumbersome to have to bind a class variable to a Redux variable to track previous changes regarding this variable.
If I have this object in Redux for example, and I would like to access to the old value firstname, I would have to bind it to a class variable using this._firstname = state.... in the stateChanged mixin.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Would it possible to add an oldState value object to the Javascript mixin
stateChanged
? I'm using LitElement with Redux and it's a bit cumbersome to have to bind a class variable to a Redux variable to track previous changes regarding this variable.const user = { age: '20', lastname: 'Johnson', firstname: 'Mark' }
If I have this object in Redux for example, and I would like to access to the old value firstname, I would have to bind it to a class variable using this._firstname = state.... in the
stateChanged
mixin.The text was updated successfully, but these errors were encountered: