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
Open console and observe while typing something into input fields
Enter some text into name field -> Vue re-renders all three Textfield components
In line 21 replace { ...this.$listeners } with an empty object
Once again enter some text into any field -> Vue re-renders only updated Textfield
What is expected?
Vue should re-render only the component whose props has changed.
What is actually happening?
Using $listeners in component's render function causes the component to be rendered whenever its parent is updated even though his props hasn't changed.
AngelBeast12, karmiy, Mikilll94, houfeng0923, martinmckenna and 3 morebrainkim and YUN-RU-TSENG