+ Start a Discussion
SHaron ToSHaron To 

Rerender lightning component when valueChange is different


I'm trying to create a to-do list app that stores to-do items for different days and would like the list to change when the user changes the date they are viewing. So far I am trying to rerender the list every time the date changes by using valuechange. However, every time the value changes the component gets rerendered regardless of if the value is actually the same or not, and the rerender circle never ends.

Is there a way to detect if the value that's changed is the same as the old value and determine whether or not to rerender from there?