🧱 Mobile-first stack navigator framework with composable plugin system
Karrotframe is rebranded with "Stackflow". View full documentation and demo on https://stackflow.so
Stackflow is a project that implements Stack Navigation UX, which is mainly used in mobile devices (iOS/Android, etc.) in a JavaScript environment. So, it can help to easily develop hybrid apps and webviews.
So, what advantages does Stackflow have compared to the existing navigation library?
ReactDOMServer.renderToString
)$ yarn add @stackflow/core @stackflow/react
import ReactDOM from 'react-dom'
import { stackflow } from '@stackflow/react';
const { Stack, useFlow } = stackflow({
// ...
});
const App: React.FC = () => {
return (
<Stack />
);
};
ReactDOM.render(<App />, ...)
To integrate Stackflow with a specific framework with routing capabilities, the framework requires an extension to manually call the preload API. However, Next.js does not officially support the preload API.
To contribute new features or options to Stackflow, please check Contribution Guide
MIT