Added new propType uniqueArrayWithMapper: uniqueArray, with an additional function parameter that allows for a non-standard unique calculation (Object.is). The function is applied to each element in the array, and the resulting values are compared using the standard unique calculation.
Added new propType
uniqueArrayWithMapper
:uniqueArray
, with an additional function parameter that allows for a non-standard unique calculation (Object.is
). The function is applied to each element in the array, and the resulting values are compared using the standard unique calculation.