function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SHaron ToSHaron To 

Rerender lightning component when valueChange is different

Hello!

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? 
Thanks!