✅ – venus – 09-58 Aug 22
Hello, I'm trying to think of best solution to get previous and next item of
Example:
So in this case it would be:
selectedState when we fit it inside initialState. Length of selectedState array could be up to the length of initialState. Is there any function that would do it for me, or do I have to write it by myself?Example:
So in this case it would be:
[{ id: 'two' }, { id: ' five' ].