Replies: 5 comments 26 replies
-
Pager: Similar to a stack but more like an indexed list. To simplify things that list may be static as a general use case is for onboarding slideshows, etc. |
Beta Was this translation helpful? Give feedback.
-
Carousel: Very similar to a pager but I mention it separately as usually don't take the whole screen and maybe the developer we wants to be able to display 1..N items per slide depending on the screen size which impacts the NavState. |
Beta Was this translation helpful? Give feedback.
-
Master/detail or single child: Basically a non-nullable overlay, may be useful for bottom nav bars if the developer does not want to stack children. |
Beta Was this translation helpful? Give feedback.
-
That is going to be really handy! |
Beta Was this translation helpful? Give feedback.
-
NavigationDrawer: Navigation drawer when the screen is small and left/right side panel when the screen is big. |
Beta Was this translation helpful? Give feedback.
-
There are Child Stack and Child Overlay high-level navigation models. There is also lower-level Generic Navigation which can be used as it is, or to create additional navigation models on top (e.g. both Child Stack and Child Overlay use it). Let's collect here use cases and feedback for additional navigation models, so most useful could be added to the library.
Please keep in mind that Decompose tries to be minimalistic with its API surface, so only reasonable and useful things should be added.
Let's do one idea per message, so we could discuss each in its own thread.
Beta Was this translation helpful? Give feedback.
All reactions