From da05f439d8abd50e19b6fe1f8fe74df7a1bfad6d Mon Sep 17 00:00:00 2001 From: marlonpassos Date: Sun, 25 Aug 2024 22:44:10 +0000 Subject: [PATCH] docs(series): add search terms and use cases --- docs/series/series.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/series/series.mdx b/docs/series/series.mdx index 7ec6b9371..c950b34e1 100644 --- a/docs/series/series.mdx +++ b/docs/series/series.mdx @@ -56,3 +56,13 @@ const weekdays = _.series( weekdays.next({ day: 'wednesday' }) // => { day: 'thursday' } weekdays.previous({ day: 'tuesday' }) // => { day: 'monday' } ``` + +### Search terms + +- Often called `createSeries`, `orderedList`, or `sequenceManager`. + +### Popular use cases + +- Managing ordered data sequences like lists of dates, numbers, or names, allowing for seamless navigation between values in the sequence. +- Efficiently finding the next or previous value in a list based on the current item, making it ideal for scenarios like calendar date navigation or pagination. +- Handling circular sequences with the `spin` function to dynamically jump forward or backward across items, perfect for rotating selections or cyclic data processing.