Jacse / react-native-app-intro-slider

Simple and configurable app introduction slider for react native
MIT License
1.65k stars 330 forks source link

Refractor #178

Closed Jacse closed 4 years ago

Jacse commented 4 years ago

This refractor contains a rewrite in Typescipt (closes #96) and a bunch of simplifications which should allow the component to be used more flexibly.

There's one large breaking change, though. I've decided to remove the default layout so a renderItem-function is always required. There has been a lot of confusion (#156, #145, #139, #136, #127, #107, #103, #97) around the default layout and though removing it requires users to write more code it also clarifies that the goal of the component is not to be a one-size-fits-all, but a helpful way to achieve the introductory slider that users are hoping to get.