Our great sponsors
-
create-universal-app
Discontinued create-universal-app(CUA) is an opinionated template for creating fullstack universal apps (Expo, Next, tRPC, Prisma, Clerk, Solito, Tamagui) [Moved to: https://github.com/chen-rn/CUA]
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
tamagui
Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Hey r/ReactNative I made a template for you to get started with making fullstack universal apps! Universal as in apps in which you write once, and run everywhere. It’s easier than ever to make a mobile app, and along with it comes a really performant website(with SSR and all of those goodies) and this template is a great starting point for that! In create-universal-app, we are using Next + Expo with the help of Solito for our frontend. Clerk for auth, as they have both Expo and Next integrations. Tamagui to help us do styling that is consistent and performing across platforms. tRPC for our APIs(our backend routes will be hosted with our frontend in a serverless environment), and of course Prisma as our ORM! This is heavily inspired by the t3 stack as well as the Solito stack! Although I’ve tried my best to test everything out, and all workflows work on my machine! This repo is quite new, and I’m not the most experienced coder out there so I would definitely appreciate some feedback/PRs! Let me know what you guys think!
So theoretically, you should be able to make another folder in /apps/desktop, and use this to reference the RN files like what Next/Expo is doing!
Thanks! A lot of that is from t3-turbo, t3-clerk and solito haha
Thanks! A lot of that is from t3-turbo, t3-clerk and solito haha
Thanks! A lot of that is from t3-turbo, t3-clerk and solito haha
On a high level, I see Nativewind as an "extension" of something that worked well on Web, to Native. While Tamagui is attempting to create a universal styling framework from the ground up with their compiler+core+UI. Tamagui has built-in animation that works across platforms, whereas Nativewind does not support Tailwind animations(nor is it a part of their goal). Tamagui has UI components like DaisyUI, but once again, universal. Tamagui also has shorthands for styling, which is very similar to writing classnames in Tailwind.
So the RN-R part is done by https://necolas.github.io/react-native-web/ and it's really good! However, there are some code that is kind of outside of the scope of React. Ie. Navigation, that's more in the realm of Next.