Comparison between solito and expo-router #428
Replies: 2 comments 4 replies
-
i recommend going through the docs and maybe watching some of my talks on there to better understand it. solito’s main thing is that it uses next.js on web and leverages the next.js API semantics. it makes these APIs map onto native too. expo router came along later and added file system routing, powered by react navigation under the hood. since solito uses react navigation on native, it automatically works with expo router too. |
Beta Was this translation helpful? Give feedback.
-
Is there any clear advantage of using Solito over Expo Router ? Expo router supports separate files for web so I don't see the advantage of Nextjs so much ? I actually ran into issues with the monorepo that I found hard to resolve, maybe or maybe not related to the setup. Not meaning to undermine the importance of your project, but interested in a clear advantage for a starter. So if Solito is the library for uniting web and native , also without Expo router, I suppose that is a good reason to use it, especially when not using Expo router. But when using Expo, isn't going all in Expo perhaps a better way ? |
Beta Was this translation helpful? Give feedback.
-
I'm trying to evaluate a toolchain for building a so-called 'universal' app, sharing code across web and native. I came across solito from the tamagui project, which has an example monorepo setup with solito.
I'm also aware of the expo-router project, which seems to have similar goals to solito. Furthermore, I notice that the solito monorepo examples include a setup with both solito and expo-router.
Forgive my ignorance, but I'm unsure how solito and expo-router can work together. They both seem to achieve the same goal - routing in universal apps - so why/when would I want to use them together?
Beta Was this translation helpful? Give feedback.
All reactions