Tamagui - The Best Stack for Universal Apps
In this video I will talk through the decisions that we have made to setup a new monorepo for MY4X4. This monorepo will be based on Tamagui and will allow us to build our API and Web app using Next.js along with a React Native app with Expo.
We will discuss tRPC, Prisma, Kinde Auth and the reasons why we chose them. In the following videos we will work through setting up each one of these pieces.
The repo is available here:
github.com/kengreeff/demo-mon...
Пікірлер: 26
Amazing video, so great to hear your explanation about the toolset along the video
@kengreeff
6 ай бұрын
Thank you, glad it was useful :)
This video was great. Filled in some missing pieces for my mental model of what Tamagui was doing for me in certain places. Looking forward to more videos about your app. Thanks!
Awesome intro!
@kengreeff
7 ай бұрын
Thank you :)
Hey Ken, great insight btw. quick question though; 24:34 you mentioned how the "features" convention doesn't sit well with you and you prefer "screens" why is that the case for you?
@kengreeff
8 ай бұрын
Definitely just a personal preference thing. I guess it is because I think of a feature being anything from the ability to like a picture to a full sets of screens or actions, similar to a “feature request”. Small “features” would be components rather than full screens in my view. What’s your opinion?
@maso4u
8 ай бұрын
@@kengreeff my view was more so along those lines that features - as far as ui is concerned - are a set of functionalities that the app renders within different screens/pages. If you look at the screenshots from tamagui takeout the webapps auth screens/pages have the authentication features (login, signup, forgot password) on the left and the onboarding slideshow feature on the right
how can we do SEO optimizations for Next if we are using the features folder?
@kengreeff
14 күн бұрын
I’m not sure to be honest as I haven’t looked in to it. The features are shared and SEO isn’t really relevant for native apps. You would probably do it in the next/web folder directly
do we have solito for this usecase?
@kengreeff
Ай бұрын
Solito is just for navigation I believe
Great video. How did you implement state management?
@kengreeff
8 ай бұрын
Since switching to tRPC we haven’t really needed global state. For local state we just reach for useState from react in a custom hook. When we need global state I’ll add a video for sure. What do you use for state management?
@uncleebenezer1928
8 ай бұрын
Xstate is doing cool things over there, if you'd be interested in implementing state machines..
@dreamecho100
7 ай бұрын
For me, if it's a global state I mostly use zustand
nice
@kengreeff
8 ай бұрын
Thank you!
what about the auth?
@kengreeff
3 ай бұрын
There is another video covering it :) I used Kinde I believe
I feel like Tamagui is flat out impossible to customize. I have read the docs over and over again, and still can't make createThemBuilder work. There's always something breaking because of misconfigured relationships between "palette", "template", "parent" and some theme key.
@kengreeff
Ай бұрын
Definitely has a steep learning curve. Probably why this video has performed so well
Great video
@kengreeff
8 ай бұрын
Thanks!
$2 per user!! Wtf
@kengreeff
5 ай бұрын
Assuming that’s for Auth0, if so, yep - you get hammered once you need to grow past the 10k users