Some people say that gluestack has performance issues, is that true?
@ReactNativeNerd3 күн бұрын
Yeah it's a good question, v1 was definitely very slow but they have improved the speed a bit with v2. Honestly, the styling framework will slow it down enough, but I don't think it's enough to make a difference unless you have a lot of native animations. There are a few benchmarks that go over that in more detail gluestack.io/ui/docs/home/performance/benchmarks
@yaguangli47977 күн бұрын
if you met issue like "skipping path" and metro.config etc file is empty when do "npx gluestack-ui init", make sure all your folder name dont contains space
@ReactNativeNerd4 күн бұрын
I hadn't seen that error before but thanks for the callout!
@prashlovessamosa8 күн бұрын
thanks please keep uploading
@ReactNativeNerd7 күн бұрын
Will do!
@imadBrush9 күн бұрын
Awesome 👌❤️
@DeskaYudaPratama11 күн бұрын
Its Expo sdk 49 ?
@ReactNativeNerd10 күн бұрын
The tutorial actually starts on Expo 51 and I ended up updating midway through to Expo 52
@bloxhubroblox12 күн бұрын
thank you so much buddy :) keep going
@ReactNativeNerd12 күн бұрын
Thanks will do!
@kooday12 күн бұрын
I dont fully understand why we use prisma when the supabase api is pretty capable
@ReactNativeNerd12 күн бұрын
Yes the Supabase API is more than capable but I think for these tutorials Prisma makes it easier to follow and set the new migrations for database changes. You can easily do this without Primsa as well though!
@kooday12 күн бұрын
@@ReactNativeNerdI really appreciate the reply. I'm guessing this is to facilitate local development. I'll continue watching the series and then make my decision. Thanks
@forward-assault-remix14 күн бұрын
hey What extension are you using to view your app
@ReactNativeNerd12 күн бұрын
During development? That's just the iOS emulator
@Onyaga8 күн бұрын
Xcode on macOs only
@Onyaga14 күн бұрын
Tip for developers using Web instead ios/android. You’ll need to update app.json, web:output from static to single otherwise you’ll get errors on supabase calls
@SaravanaKrishnappa15 күн бұрын
ho apply gluestack ui to react-native cli app , having issues for global css file
@ReactNativeNerd15 күн бұрын
You might want to try just going through the Gluestack installation steps from the start since it should handle adding global.css. You can always create gobal.css yourself as well with ``` @tailwind base; @tailwind components; @tailwind utilities; ```
@edwarddavin602416 күн бұрын
Can I buy lines of code from u? Trying to build a quick app
@ReactNativeNerd15 күн бұрын
The full course will have all of the source code needed to build the app www.reactnativenerd.com/threads
@jensenbenny16 күн бұрын
Thank you for great job! Do you recommend using supabase edge functions for serverside logic or separate backed?
@ReactNativeNerd15 күн бұрын
Thank you! As for edge functions for a full server it usually depends how many different API endpoints you plan on having. Usually for me if it's 10+ functions/API calls I usually just create a server for the logic since its easier to update. But if it's only a small amount of functions then I usually fo the Supabase edge function route, hopefully that helps!
@epictoons894819 күн бұрын
Bro i just wanted to how to learn react native , there are many confustion like native command line then expo , javascript and typscript . can you guide me.
@ReactNativeNerd17 күн бұрын
You might want to start learning the basics of Javascript/Typescript/React first on web and then jump into Mobile development as it will be a much easier transition. In short though Javascript is the core language being used here while typescript is just syntax to make javascript easier to work with in development. React is a library of components that is built on top of javascript and finally React Native & Expo are frameworks that convert that javascript to be used on mobile platforms like Android with Java/Kotlin and iOS with Objective C. I hope that description helped and didn't just make it even more confusing lol
@epictoons894817 күн бұрын
@@ReactNativeNerd thanks a lot
@joshbleijenberg400019 күн бұрын
This is amazing
@ReactNativeNerd17 күн бұрын
Thank you,!
@prashlovessamosa19 күн бұрын
thnaks learning react native found your channel indeed very helpful please keep uploading
@ReactNativeNerd17 күн бұрын
Thanks, will do!
@Onyaga20 күн бұрын
thanks bro ill be waiting for part 3.
@Onyaga20 күн бұрын
awesome man im just starting with react native and this tutorial is much better to follow along than a lot of other things i've seen
@ReactNativeNerd17 күн бұрын
Glad you like the format!
@akshaymali473220 күн бұрын
Great video... keep it up✌️
@jensenbenny22 күн бұрын
Thank you bro for great work. Do you think using supabase for production good idea? Or better to build your own backend on node js or smth?
@ReactNativeNerd22 күн бұрын
Thank you! I do think Supabase is good for production since the database itself is just Postgres, if you don't like Supabase in the future then it is easy to migrate versus another platform like Firebase. Either are good options but if it's just a one person team then I for sure think Supabase is the better option, if you have the luxury of a bigger team then Node.js/Nest.js can be great options as well!
@hafizsyahputra719623 күн бұрын
I saw in another video there is a file with the App.js format. I don't understand why it's different in every react native installation, while in your video it uses index.tsx Explanation please sir
@ReactNativeNerd22 күн бұрын
There's two different methods of routing in React Native & Expo. The older version is called React Navigation while I'm using a newer method called Expo Router which is a file based routing system similar to Next.js. Both work great but Expo Router will only be used on newer videos
@nizohosting430923 күн бұрын
Bro i want to know that it will work for Android devices too?
@ReactNativeNerd22 күн бұрын
For sure, React Native works on both iOS and Android. Once you run `npx expo start` it will give you the option to run on an iOS emulator or Android one
@nizohosting430921 күн бұрын
@@ReactNativeNerd in my project there is no babel config js file what's solution for it?
@kooday13 күн бұрын
@@nizohosting4309 I don't have one either :/, have you resolved it?
@edwarddavin602424 күн бұрын
Can u make a video or point me in the direction of the best video that helps me download and install react, node.js and visual studio code so I can make this tik-tok clone?
@ReactNativeNerd22 күн бұрын
Honestly the best place to start is with plain React on the web, once you comfortable with the React concepts, moving to React Native & Expo will be a much easier transition that trying to learn everything at once. You can even just start with the React documentation building a simple app react.dev/learn/tutorial-tic-tac-toe. I hope that helps!
@edwarddavin602418 күн бұрын
@@ReactNativeNerdThank you 🙏
@SatoshiNakamonoАй бұрын
The file (auth)/index.tsx and (tabs)/index.tsx have the same file name, so the first is the default home screen. We should change (auth)/index.tsx to (auth)/signin.tsx
@ReactNativeNerd22 күн бұрын
Yup you can rename however you see makes the most sense. They always say the hardest thing in programming is..naming 😂
@SatoshiNakamonoАй бұрын
Love it <3
@CropsiiАй бұрын
How to add your own SVG icons to the bottom bar?
@ReactNativeNerd29 күн бұрын
You can use react-native-svg and save the SVG as its own file and import into the navigator, replacing the expo-icons import. ie ``` import Svg, { Circle } from 'react-native-svg'; export default function CircleIcon() { return ( <Svg width="12" height="12" viewBox="0 0 12 12" fill="none"> <Circle cx="6" cy="6" r="3.5" fill="#3E8AFA" /> </Svg> ); } ```
@Madosa89Ай бұрын
Why do you ignore all the typescript errors ? I think that is not a good practice for new devs to learn this.
@ReactNativeNerdАй бұрын
Yup, the goal of this course was to just hit the time limit of 5 hrs and get the basic features in there. On my next course I follow best practices and go into more detail. Thanks for the call out!
@traveltourwithalbertceo1003Ай бұрын
Hello, Thank you for this video. Please can you share how to delete users account from supabase in this app?
@ReactNativeNerdАй бұрын
For sure, you can delete a row in a table with const response = await supabase.from('users').delete().eq('id', ID_HERE)
@traveltourwithalbertceo1003Ай бұрын
@@ReactNativeNerd Yeah. but I'm actually talking about deleting users from auth table!
@ReactNativeNerd29 күн бұрын
@@traveltourwithalbertceo1003 You need admin abilities but this would do the trick const { data, error } = await supabase.auth.admin.deleteUser(USER_ID)
@raviteja9470Ай бұрын
This is good, can't wait to complete the entire tutorial
@zoltanmolnar6956Ай бұрын
Could you please add how to submit to PlayStore as well, thank you (I have bought your course as well)
@ReactNativeNerdАй бұрын
Yup good call out, I didn't cover Android much in this series but doing another series on building Threads from scratch where I'll cover that process more!
@btgames5173Ай бұрын
hey im getting this error= missing permision: android.permission.RECORD_AUDIO
@ReactNativeNerdАй бұрын
Good question, didn't cover Android in this tutorial but another follower figured out this issue. You need to ask for microphone permission as well on Android docs.expo.dev/versions/latest/sdk/camera/#usemicrophonepermissionsoptions
@arijitdnАй бұрын
Add /// <reference types="nativewind/types" /> in your expo-env.d.ts to ignore that className warning of typescript
@ReactNativeNerdАй бұрын
Yup good call out! Although putting that line in expo-env.d.ts might get overwritten when you rebuild with expo, would be better creating a new file called nativewind-env.d.ts with that same line of code
@ElmoPlayssАй бұрын
Bro can you atleast put the models up for free? I ain't gonna pay 100 dollars just for the model copy paste
@ReactNativeNerdАй бұрын
The models are covered a few times throughout the video series or you can use the code TIKTOK for 50% for the full repo and course
@SatoshiNakamono28 күн бұрын
Copy and paste into your schema.prisma file and run: npx prisma format model User { id String @id @unique username String @unique email String @unique createdAt DateTime @default(now()) videos Video[] likes Like[] followers Follower[] comments Comment[] chats Chat[] } model Video { id String @id @default(dbgenerated("uuid_generate_v4()")) title String uri String userId String user User @relation(fields: [userId], references: [id], onDelete: Cascade) likes Like[] createdAt DateTime @default(now()) comments Comment[] } model Like { id String @id @default(dbgenerated("uuid_generate_v4()")) userId String user User @relation(fields: [userId], references: [id], onDelete: Cascade) videoId String video Video @relation(fields: [videoId], references: [id], onDelete: Cascade) videoUserId String createdAt DateTime @default(now()) } model Follower { id String @id @default(dbgenerated("uuid_generate_v4()")) userId String user User @relation(fields: [userId], references: [id], onDelete: Cascade) followerUserId String createdAt DateTime @default(now()) } model Comment { id String @id @default(dbgenerated("uuid_generate_v4()")) userId String user User @relation(fields: [userId], references: [id], onDelete: Cascade) videoId String video Video @relation(fields: [videoId], references: [id], onDelete: Cascade) text String createdAt DateTime @default(now()) } model Chat { id String @id @default(dbgenerated("uuid_generate_v4()")) userId String user User @relation(fields: [userId], references: [id], onDelete: Cascade) chatUserId String userKey String text String createdAt DateTime @default(now()) }
@HarryZhang-ld1htАй бұрын
Hi, I have my .env file at the root directory and everything setup just as you've done in the tutorial but I keep getting error of DIRECT_URL not found. Not sure what the problem is.
@ReactNativeNerdАй бұрын
Do you have a variable called DIRECT_URL in your .env file? If not you need it to run any migrations to update your database. It should look something like this `DIRECT_URL=postgresql://postgres.USERNAME:[email protected]:5432/postgres`
@marcelocchАй бұрын
Amazing video, so educational and chill, keep it up!
@ReactNativeNerdАй бұрын
Thanks Marc, glad you liked the videos!
@btgames5173Ай бұрын
can u teach me how to create mutliplayer games in react
@ReactNativeNerdАй бұрын
Any specific mobile game you’re thinking of?
@btgames5173Ай бұрын
@@ReactNativeNerd like among us
@ReactNativeNerdАй бұрын
I'm not too familiar with that game so I would have to look into it
@btgames5173Ай бұрын
which extensions are u sing in vs code
@ReactNativeNerdАй бұрын
Im not using any extensions, just the built in AI from Cursor
@DeskaYudaPratamaАй бұрын
Why my followers cant read😢 help me
@ReactNativeNerdАй бұрын
Sorry not sure I understand the problem, can you give a more detailed error?
@DeskaYudaPratamaАй бұрын
@@ReactNativeNerd Followers On profile page can show up, but on user All is clear.
@ReactNativeNerdАй бұрын
I would just double check your supabase query and log the results to make sure you're getting the response you were expecting
@FrankRamosYTАй бұрын
This is such a great project. Is the code available on GitHub?
@RenkaiSai2 ай бұрын
IT’LL HELP ME A LOT
@RenkaiSai2 ай бұрын
NICEEE
@btgames51732 ай бұрын
which extensions are u using
@ReactNativeNerd2 ай бұрын
In my code editor? None, it's just Cusor
@haal49192 ай бұрын
great video! Im new to React Native development and have been looking for good guides to get my feet wet. Love the slow tempo and that you take your time with each step and doesnt skip anything! It makes it so easy not to miss any little details
@ReactNativeNerd2 ай бұрын
I really appreciate the feedback! I know other tutorials online go faster through the content but like you said a lot also gets skipped in the process so it's good to know the slower pace is helpful for my next video series!
@fdmbldkl45742 ай бұрын
Although I have done all the operations, the classname properties are not appearing on my screen. What should I do?
@ReactNativeNerd2 ай бұрын
You have to make sure the file you are working in is added to the tailwind.config.js file from tailwind classes to work properly
@timothymoretonsr4762 ай бұрын
Getting started building my TikTok
@btgames51732 ай бұрын
your playlist is upside down ,,, can u fix it
@ReactNativeNerd2 ай бұрын
Good catch, should be fixed now!
@Mapow5022 ай бұрын
getting this error when running `npm run ios` (node:48900) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. any idea on the best route from here?
@ReactNativeNerd2 ай бұрын
can you trying running `npx expo start -c` or `npx expo run:ios` instead. The first with use Expo Go and the 2nd will run a native build
@Mapow5022 ай бұрын
@@ReactNativeNerd not sure what fixed it but im back in business! Have been running npx expo start -c instead Thanks! amazing series BTW!!!
@ReactNativeNerd2 ай бұрын
@@Mapow502 Glad your enjoying the series and that your local env is working again! The -c tells expo to clear the cache which is all that is needed sometimes
@DeskaYudaPratama2 ай бұрын
Thanks for this tutorial..❤❤ Btw i am stuck on migration database because you have skip in your vidio you i try to solve but i can’t. Can you help me sir
@ReactNativeNerd2 ай бұрын
What kind of error are you running into? Do you have the correct database credentials setup in your `.env` file?
@DeskaYudaPratama2 ай бұрын
@@ReactNativeNerdYes i have, schema engine error, and can’t reach database server at
@duyhung.3018 күн бұрын
@@DeskaYudaPratama me too bro. dont know what's wrong
@zoltanmolnar69562 ай бұрын
Could you please change on Udemy price from 104 $ to normal 10 $ please? As everyone?
@ReactNativeNerd2 ай бұрын
Hi Zoltan, I actually just migrated that course over to my own site which you can use the code ZOLTAN at checkout for a discount