Stack Navigator in capacitor #5695
Replies: 4 comments 7 replies
-
@ValGeorgiev this is absolutely possible, but you'll need a UI kit that handles this. This is actually one of the core benefits to using Ionic Framework since it has native-quality navigation built in and integrates with React Router when using React. You could use Ionic Framework's React components and only use the nav/router integration if you want to use your own components elsewhere. See this Tailwind + Next.js + Capacitor + Ionic Framework starter I built a while back that does just that: https://github.com/mlynch/nextjs-tailwind-ionic-capacitor-starter |
Beta Was this translation helpful? Give feedback.
-
I think maybe a native stack navigator will be better. It is possible that capacitor provide a plugin to support the native app stack navigator? |
Beta Was this translation helpful? Give feedback.
-
@ValGeorgiev It's one of the main reasons I think capacitor isn't a good library for serious mobile/web developers. @mlynch Copy Flutter with a simple native navigation stack and actions like Making the library create it's own navigation effects isn't producing good results.. For example we'd love to use Svelte, but it's not possible right now. Just make the navigation a native stack. |
Beta Was this translation helpful? Give feedback.
-
It's worth noting that a few apps are now taking the hybrid approach:
37signals Turbo framework has been using that trick for a few years. More recently, Height app implemented the same technique. If someone ends up creating a Capacitor plugin for this, I would love to test it out! |
Beta Was this translation helpful? Give feedback.
-
Hey all! First of all thanks for the great library. We are looking forward to integrate our app with capacitor.js. One of the features we are looking to add is the native swipe transitions between routes. Here is an example:
Screen.Recording.2022-06-16.at.16.17.30.mov
Is this possible with Capacitor? We are using react-router v6 for routing. Any suggestions are much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions