Returns a memoized array containing the given elements.
Useful for passing an array to children that is created in the parent component (but the array itself is not held in
state) so that the identity of the array is stable as long as the values in the array are unchanged.
Returns a memoized array containing the given elements. Useful for passing an array to children that is created in the parent component (but the array itself is not held in state) so that the identity of the array is stable as long as the values in the array are unchanged.