Loading problem…
Implement a keyBy function that creates an object composed of keys generated from the results of running each element through an iteratee.
This is commonly used to normalize API responses for efficient lookup by ID, especially in Redux/state management.