areOptionsEqual

A function used to determine if two options' values are equal. By default, reference equality is used.

There is a performance impact when using the areOptionsEqual prop (proportional to the number of options). Therefore, it's recommented to use the default reference equality comparison whenever possible.