What is Stackflow?
mainStackflow is a navigation library designed to implement Stack Navigation UX (common in iOS/Android) within JavaScript environments. It is ideal for developing hybrid apps and webviews.
Key Features:
- Stack Management: Manages stack screens and preserves scrolling state.
- Transitions: Supports screen stacking effects and reverse transition effects when navigating back.
- Gestures: Supports iOS-style swipe-to-go-back gestures.
- Parameter Passing: Enables passing necessary parameters to screens during transitions.
- Headless Core: The core logic (state and transitions) is decoupled from the UI, allowing you to use the state independently or inject your own UI.
- Extensible: Provides a plugin interface to inject logic between lifecycles.
- Framework Agnostic Core: While the current React integration is the primary focus, the separation of core logic and integration layers allows for multi-framework support.
- SSR Support: Compatible with Server-Side Rendering via
ReactDOMServer.renderToString.