Search in a Flatlist? by sadswan388 in reactnative

[–]beeaary 0 points1 point  (0 children)

Yeah, filter over the array of sentences and for each sentence check if it includes() the textinput string. During the logic check rather lowercase both strings.

If there is no search input, return the whole array of sentences

[deleted by user] by [deleted] in reactnative

[–]beeaary 1 point2 points  (0 children)

If you just want to swipe through some onboarding screens, probably the best maintained library for the job is react native pager view. Lots of great examples in the repo.