ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
🔴 Let's build a Uber Clone with REACT NATIVE! (Navigation, Redux, Tailwind CSS, Google Autocomplete)
ความคิดเห็น • 781
ต่อไป
เล่นอัตโนมัติ
ระบบแทงคือไม่เกี่ยวกับสนุ๊ก | Live - Black Myth: Wukong #4HEARTROCKER
มุมมอง 510K
Jeff Satur - เหมือนวิวาห์ (Rain wedding)【Ost.วิมานหนาม】Jeff Satur
มุมมอง 1.7M
#ติ่งข่าว #ข่าวเวิร์คพอยท์ #ข่าววันนี้ #ข่าว #ก้าวไกล #การเมือง #ยุบพรรค #ศาลรัฐธรรมนูญข่าวเวิร์คพอยท์ 23
มุมมอง 578K
Aisha gave shoes to five dancers#cosplay #gojusatorugojosatoru
มุมมอง 3.6M
Think Fast, Talk Smart: Communication TechniquesStanford Graduate School of Business
มุมมอง 39M
10 Tailwind Classes I Wish I Knew EarlierWeb Dev Simplified
มุมมอง 178K
🔴 Build the Uber clone in React Native (Tutorial for Beginners)notJust․dev
มุมมอง 878K
Best classical music. Music for the soul: Beethoven, Mozart, Schubert, Chopin, Bach ... 🎶🎶Largo Classics
มุมมอง 7M
Basic System Design for Uber or Lyft | System Design Interview PrepInterview Pen
มุมมอง 780K
I FOUGHT A BOT STRONGER THAN MITTENS!!!!GMHikaru
มุมมอง 188K
ผจญตีนยันหว่าง | Black Myth: Wukong #005Bay Riffer
มุมมอง 107K
ง้อ (ALRIGHT) - FOURTH Prod. by URBOYTJ [ OFFICIAL MV ]RISER MUSIC
มุมมอง 456K
ใครสร้าง ห้องลับได้เนียนที่สุด เอาไปเลย 10,000 บาท !Ananped
มุมมอง 570K
จตุพร วิเคราะห์ รัฐบาลแพทองธารอายุสั้นกว่าเดิม เชื่อ อนุรักษ์นิยมลาก ชินวัตร เข้าโซนอันตราย | TODAYTODAY - สำนักข่าวทูเดย์
มุมมอง 1M
🔴 LIVE พากย์บอลสด | ไบรท์ตัน 2-1 แมนยู พรีเมียร์ลีก อังกฤษ สัปดาห์ 2 | 24-8-67สปอร์ตเต็มเหนี่ยว
มุมมอง 162K
การแข่งขัน RoV Pro League 2024 Winter | รอบเก็บคะแนน Week 2 Day 1Garena RoV Thailand
มุมมอง 372K
📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university
hello sonny, i dont have any experience and knowledge in making app, can i learn about this one? do you have school? thanks
Pppp
hello sunny, in this video shown only one tab get a ride, what about uber order food??. if it done please can share video link in reply please.
@@musa7801 ط حطي يپلاؤغئع
i just dont wanna see your face
This single video is equivalent to almost all the paid react-native courses. Thanks a lot, Sonny for sharing this and putting all your time to explain and create it so well :)
Were you able to implement google autocomplete using the google places API ?
@@nikolaimakarov3034 yes, if google key is activated should work
You have goggle api key ? Can you help me@@nikolaimakarov3034
If you are using the Android emulator to follow this tutorial you might have issues with the back button @3.02.57 ish. Evidently you could make two blunders. 1. Is to import {TouchableOpacity} from 'react-native-gesture-handler. The recommendation unless you know what you really wnat to do is to import it from import {TouchableOpacity } from 'react-native'. Once you have done that then using the absolute positioning may also cause the back button < chevron not to fire, in this case place the textbox before the TouchableOpacity component. This applies only for Android. The ecosystem is a little finicky especially with the expo wrapper, but for what you are getting it's well worth the few bumps in the road.
I was stuck on this part so thank you very much for your advice 👍
The solution also blocks navigation to NavigateCard.
Thanks a lot bro! Didn't think the comment section would become the perfect stack overflow forum lol👍
To fix the button placement you could also replace top-3 in the TouchableOpacity to bottom-2 and that should be perfect!
@@TheEliteBeats
it is a z-order issue for sure. I could have made that more clear, but didn't want to affect the look and feel too much
Today, I completed a basic Uber clone project, and it's amazing! I've added some extra features, including payment integration with Stripe, among other enhancements. A big thank you to Sonny for the fantastic guidance-keep up the great work! 👍
For the ones who got the error of navSlice.origin is not a function: you probably put your reducer like this:
export const navSlice = createSlice({
name: 'nav',
initialState,
reducer: {
But when Sonny Sangha Copied his working file code and pasted it on the navSlice
The reducer looks like this now:
export const navSlice = createSlice({
name: 'nav',
initialState,
reducers: {
There is gonna be an "s" after the reducer
and on 3:02:53 the change there was the z-index: 50 on the style or z-50 for tailwind
I hope i helped!
Thank you man!!
The way he acknowledges donations is really awesome.
This video is a game-changer! As an RPA Champion dedicated to teaching business process automation, I can't stress enough how important it is to build robust and scalable apps. Utilizing React Native, Navigation, Redux, Tailwind CSS, and Google Autocomplete together is a brilliant approach. It not only streamlines the development process but also ensures a seamless user experience. Kudos to the creator for breaking down complex concepts into actionable steps. For anyone looking to automate and optimize their business processes, mastering these tools is essential. Keep up the great work and let's keep pushing the boundaries of what's possible!
Thank you so much!
The error stating that setOrigin is not a function is resolved by naming the reducers object inside navSlice as "reducers" with an "s" instead of "reducer". Thank you and keep it up 👍
This comment went a very long way. Thanks a whole lot
thanks)
Thanks so much! You the best my man, had spent the last hour trying to debug this.
You're a beast, thank you
this could be easily prevented by using Typescript. Since TS yell when you mistype param name
While trying to use Google API from India, it was not giving out any search results. I then created a different billing account and set the account country as US, now its working properly. Amazing approach you have, bro. You clear concepts so clearly. Im definetly more clear in RN because of you.
Hey! I am facing the same problem can you tell what address did you mentioned while opting for different country?
At 3:03:05, if you are facing the issue where your back button is not clickable, the fix is to add change z-index of your back button. Add "z-50" to the tailwind styles of the back button
Thanks you have saved me tons of time there
Crazy Stuff Sonny please extend this build if you can like dashboard for drivers etc/
Yeah that will be sick
Im 2 years late, but this is still an amazing and probably the best uber clone, not talking about how accurate the app looks like, i mean the instructions and the code functionality and the explanation on what to do and why, Love you Sonny, you're the best
Hello, i'm amongs the very few that my code isn't running. Can i have uses because starting all over again will be too long
@@krys_gaming476 well what do you mean by your code isnt running? honestly that could be due to many things, its pretty hard to guess what went wrong, but if i have to guess. i'd guess you didnt get a google maps key properly which would lead to unexpected errors
actually its the redux making my code not to funcion properly, everytime i Use the "Provider", it nshows me errors on expo go. Been sending the issues to AIs but all say theres no problem found
@@Cookies-cv3nd
Mailman delivering once again. Can't wait to try out React Native. Thanks for dropping all this knowledge.
I have a react native app project that's bugging me, especially as a beginner. Your video is far better than anything I've come across! The explanations, the simplicity, the pauses to shout out your donors😅... Massive love from Kenya🇰🇪
At 1:59:25, what changed was in the createSlice object parameter, you were passing in "reducer" instead of "reducers" as an object property. It wasn't a refresh issue.
Thanks
Thank u so much i was struck there :)
Life SAVER!!!!!
Thank you so much.😊
thank you men i was searching for a while
love your energy and you have been 100x times more helpful than most of the react native content on youtube. thank you so much!
THANKS !! ive been learning react native in the past 2 month and alot of my progress come from what i learned here !
I know it is an old video, but for people that get the error: [TypeError: 0, _navSlice.setOrigin is not a function (it is undefined)].
There is actually a change :
You resolve it by naming the reducers object inside navSlice as "reducers" with an "s" instead of "reducer".
1h:59':26" in navSlice, name,initialstate and "reducer"...reducer it's and needs to be changed by "reducers". it´s not only a refresh!
thank you
I coded along and I'm finally done.
Impressive :)
Giving hearts to all the comments, so nice of you man. Keep up the good work and give us more stuffs like these ❤️❤️
Got to know react due to you a year ago and now I got my first client due to you ! keep making these builds man 🔥❤️
LOVE YOUR ENERGY🔥
Here I am wishing you made this using flutter, I'm glad I know react too because you've seriously made me question my love for flutter. This is really Awesome!
When sangha drops a video. First thing you do is drop a like and then continue. Remember this process is a must. Appreciate the free contents guys please.
Around minute 36:00 you created de navSlice with the property "reducer", without the "s", that's why you got an error on minute 1:58:51. This is awesome, i hope to return the favor some time.
At first I thought ppl are donating to you, but then realized, no, they are donating to your knowledge and hardwork. Man is nothing without it
I’m sorry what does this exactly mean?
@@SonnySangha its just that I was wondering that why ppl r donating so much, and, then I realised that they are giving money because the get something from you.
Donations were for the knowledge u giving us,
@@SonnySangha and man i want to thanks too. I found ur tutorial exactly when I had a project with those functionalities required
You rock man!! 💥 I was gonna start learning Android Studio. But I think after react , React Native is the way to go.
I was waiting for this. I'm salivating...this is my moment!! You are the best....and you are changing lives!
Hello Sonny, Thank you so much for this awesome tutorial what an amazing build! I have implemented several builds from your channel and it is helping me out a lot. I just wanted to point out to you and everyone that the error that occurred @1:58:49 stating that setOrigin is not a function is resolved by naming the reducers object inside navSlice as "reducers" with an "s" instead of "reducer". Thank you and keep it up 👍
Thanks for this, he just copied and pasted over the code to fix it instead of debugging lol
I've just seen that difference (reducer - reducers) and came to the comments to see if someone else saw it lol
thanks for your help, it took me lots of time lol
@@kikombehome7873 SAME
thanks a lot. Came over to the comments to see if someone also realised it. Been stuck on this bug for hours . Thanks a million dude
I've finally been able to block out the time to fully watch this video and practice along. Thank you so much for sharing your knowledge. You are amazing at breaking down new topics and making them easy to understand.
Wow everyone here is really smart! I just stumbled upon this channel by mistake - bless you all!
This guys is god of many developers ❤️
I love how you explain and strucutre your projects, I really like to see them after my work hours or in my free time. Really educational. This time I tried to follow your tutorial, but changed some things instead of following you, added extra additional features and used mapbox instead of Google Maps, added authentication and a small backend. This is my first time working with react native. I learned a lot from your video also helped me understand lot more things at the same time. Respect brother
I havent watched these vdieos but can you tell me if they just code frontend or they include backend also?
@@kshitizbathwal7509 It's just frontend but some of his videos contain Firebase backend
How can u smile while coding . u r awesome dude
somehow last night, whilst asleep, youtube fed me along the algorithm to your videos, I woke up half way through this one to realise your incredibly helpful for my future endeavours, thankyou for your content and I cant wait to actually consume some and get some learning in!
This is awesome thank you so much I’m glad it helps you!!
This stream is honestly so well done man, thank you for all your content this was so helpful for implementing a bunch of functionality in a similar app I'm building.
Just finished this build, this was awesome, and the best part of it for me was the debugging of the issues I encountered. Great learning tool for anyone.
hey bro where can i find images like the uber car?
Thank you Sonny for this amazing course!
As a Fullstack dev with quite a lot experience but no React Native, you helped me a lot with getting into React Native! Thanks. Went smooth from 0 to 100. You saved me days and weeks from creating my prototype!
I don't know much about coding but this dude's vibe is inspiring me to learn.
Unfortunately, I realized that I cannot use a custom javascript core as I am using a standalone application with the expo.
I'm sure some people will encounter the "Can't find variable Intl" failure message because it works with the expo in the android emulator.
You can fix the problem with the following steps:
yarn add intl
import 'intl'
import 'intl/locale-data/jsonp/en-GB'
You're the best!
Good stuff bro, I just completed whatsapp-2.0 build
Great video. But when you troubleshoot can you not paste your old code because you might not notice a change but for ppl following along it doesn’t fix the bug. For example, if you go to 1:59:32 on line 12 reducer is changed to reducers. Took me 30min to figure out. Lol. Really like your videos tho, good job and thanks for making them. 😃
YEP i just figured that out right now lol, I am abit late unfortunately
How many api use in this
Nice video sonny, i learned so much about react js. Sonny, please also make a video on how to make google lens clone( products recommendation by analysing photos).
Wow i like how you handle Map navigation , travel time and calculating amount and distance that's awesome ,,, keep up the good job,, to those who are looking for tutorials in relations to react native map navigation, this is the right video for you..
By the way, this tutorial is fantastic, I'll be watching all of your tutorials from here on out, so just consider this a friendly observation for your student audience.... something did change when we the setOrigin is not a function error appeared (around 1:59:00), it was the spelling of reducer(s) in the navSlice file. Hope this helps, took me a bit to catch that
Thank you! got stuck here for a bit
thank you so much! I was having a trouble with this one
Papa Fam for life ... So pumped for this you are really changing lifes thank you so so much Sonny ... Love from Pakistan
I’m a 27 year old viewer logged into my girlfriends iPad, hella excited to be able to watch this!
thanks sonny for the easiest react native lessons
at 2:34:00
i had issue with the fitToSuppliedMarkers not being recognised
i corrected it using ref = mapRef in mapViiew and adding
useEffect(() => {
if (!origin || !destination || !mapRef.current) {return;}
// Zoom & fit to markers
mapRef.current.fitToSuppliedMarkers(['origin', 'destination'], {
edgePadding: { top: 150, right: 50, bottom: 50, left: 50 },
});
}, [origin, destination,mapRef]);
````
import { StyleSheet } from 'react-native';
import MapView, {Marker , PROVIDER_GOOGLE} from 'react-native-maps';
import tw from 'twrnc';
import { useSelector } from 'react-redux';
import { selectOrigin,selectDestination } from '../slices/navSlice';
import MapViewDirections from 'react-native-maps-directions';
import { GOOGLE_MAPS_APIKEY } from '@env';
import { useRef } from 'react';
import { useEffect } from 'react';
const Map = () => {
const origin = useSelector(selectOrigin);
const destination = useSelector(selectDestination);
const mapRef = useRef(null);
useEffect(() => {
if (!origin || !destination || !mapRef.current) {return;}
// Zoom & fit to markers
mapRef.current.fitToSuppliedMarkers(['origin', 'destination'], {
edgePadding: { top: 150, right: 50, bottom: 50, left: 50 },
});
}, [origin, destination,mapRef]);
return (
````
Thanks bro I was stuck on zoom into fit map.
I like your recording setup and you're really pumped!! very captivating
Thank you for sharing this right now; most students are interested in taxi booking app development for their college projects, and you are assisting them with this tutorial.
I like your format G! Nice Video and good vibes!
Oooh Papa React I missed the stream but this is sick man.. Thanks man
This stream is honestly so well done man,
Content is amazing. Thank you! Production level tutorial projects are not common so I really appreciate your content.
Dude this channel is SO UNDERRATED It should have like atleast 300k SUBS
God may bless you really, there is none course in udemy like this, you saved my life because I am founding my startup in the field of transportation and I need this kind of stuff and also straight to the point since as startup we don't have that much time
Hi Sonny, I'm just 30 mins into this video, And i realize you bare super smart, with the way you explain, its almost as if you are the one who came up with the uber idea. definitely building this as soon as i get the fundamentals down.
you can disable opening of local host by pressing shift+d in expo cli
YES!!!
1:59:16 Error is because of using 'reducer' at line 12.
The correct word should be 'reducers' [extra s]
@SonnySangha in your reducers at timestamp 1:59:48 the redux setup in navSlice.js line 12 is supposed to be 'reducers' not 'reducer' that was what changed
No No No No, This is too good. When I hear you say Redux Toolkit, I'm like you nailed it, man. Thanks Sonny
After watching your builds, development seems like a cakewalk.
Keep it up sir, waiting for the video in which you use ML with Native App.
❤️❤️
Hey Sonny! Have learnt React from you. Have learnt NextJS from you. Would be wonderful if you can plan a new build using typescript.
Yeah TS would be amazing!🙌🏻
reducer changed to reducers at 1:59:29, for this error ( (0, _navSlice.setOrigin) is not a function.)
finally, i have been able to complete a build thanks to this tutorial! This has given me so much confidence as a beginner
Hey Sonny~ your contents are always awesome!! Thanks for this great work !!!
Thanks for tuning in dude!!!
You are amazing bro. Father of React. Love from India.
Nice project I finished it today, adjusting everything to the current best practices. I hope that you can do more react-native in the future. Greetings from Mexico!
Hi, Gerardo. Please how did you go about the navSlice file? did you copy what is on redux documentation? its different to what sonny did, maybe that is the latest one. Or you typed what is on sonny screen
@@oluwatobisamuel247 which part exactly? I think that part did not change at all, but let me know exactly where so i can help you
@@gerardomedellin4355 @Gerardo Medellin thanks for your response Gerardo. I passed through that process. I'm currently having a blocker at the Navigation part. from min 1:15:00
LOVE YOU SONNY YOU ARE THE BEST REACT TUTOR
We want more React-Native🥰🥰
Hi sonny , hope you fine dear m you guys are so incredible . I was always in MAPS in React Native , and you solved this issue, May God bless you. Make some more awesome stuff like that
Could you pleaseee share the playlist in your background? I love it!
Edit: Missed the newsletter part. I've signed up for it! Thanks
Bro this guy is giving all the cool jazz for free ?! All my support dude ✨
thanks man. u made it seem so easy
Incredible Tutorial. Thank you so much.
Best In Class, Sonny is Coding Rockstar
Best build indeed. Good stuff man.
Sir I am an 13 Years Old Teen and has been following u from a lot ago. The problem is that i am not able to create a billing account as i dont have a credit card of my self. So.. can u pls tell me if i can create a billing account without credit card?
In this case you’d need to ask your parents!
Happy for england! Just came back from a long Trip to england and more! Thanks Sonny Sangha Great energy! I am from Panamá!
Oh Air BNB!
Sonny, the beast. OMG, this build was epic
Sonny you are amazing as always! Thanks for everything
This is an amazing build. Exactly what I needed! Btw, the setOrigin is not a function error at the 1:59:00 mark was tough to figure out. Took me forever to see that reducers was spelled wrong in createSlice(); LOL
Bro, I hope that you get rich and every wish come true hahahaha you saved me!
Thank god.... 2 days trying to find this. I knew it was a syntax problem, but COULD. NOT. FIND. IT.
saved me .. thankz D
should be top comment
Thanks a lot
Thanks Sonny - The real-world examples are a great motivator.
Nice work! Very entertaining and helpful, greetings from Chile!
This is exactly what I need thank you so much, you are a legend.
google Directions API require Google Maps Billing Account. I have already enabled billing on my account. How do I proceed Further?
found 15 vulnerabilities (1 low, 4 moderate, 10 high)
run `npm audit fix` to fix them, or `npm audit` for details
Excellent work, thanks for taking the time, they are not short videos, and it takes a lot of effort on your part, there really is a lot of work behind it, greetings from Argentina.
Getting error saying :- ```Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.``` AND ```No reducer provided for key "nav"```
OMG PAPAFAM! The Great 💜
Damn this is so dope!!!💖💖
Hello, help me please,
It doesn't work for me when I want to implement the mapviewdirections, as if it doesn't recognize it, but everything else executes, please help
You rock man!! I was gonna start learning Android Studio. But I think after react , React Native is the way to go.
Crazy build!! Can u add some features like real time location tracking and driver dashboard
sonnhy the goat most tallented developer ever. alhamdulileh
Sonny I've done a few of your videos. They're always great. However it would be nice if you'd do a React Native video at some point that is just an hour long. Something simple to cover the basics of your preferred setup, then deployment and app store upload. Thanks for all the work you do 🙏
Please upload in 1080 video quality. Thanks
Wanted to learn react native, decided to go to the best channel to do so
Hey sonny do a video about how to make a zoom clòud meeting web app.please