BROOOOOOOOOOOO. YOU HAVE NO IDEA!!! BRO, I WAS FAILING TO REMOVE THE BOTTOM TAB!!! Man God bless you hahaha. Like you have no idea how frustrating it is. I prayed last night and was like Lord, this thing has me down and I am starting to avoid the project. (It's literally my first app because I am a UI UX designer). I said to Him please don't let this be one of those things i start that ends up being a bygone I never pursued. And right now after sitting down to do it, I felt 'search using your phone'. I was at my laptop by the way. And then I searched using my phone, and your video was the first on my suggestions and it was a KZbin video. Do you know how many searches I had done prior on my laptop? MANY. There was not much to indicate that this video is for this specific issue I am facing, but I just knew it was the video to watch among the other videos and bam! If you don't believe in the Holy Spirit, y'all need to seek Him out.
@galaxies_dev3 ай бұрын
That's awesome to hear and makes me smile!! If you enjoyed it, could you share the channel with your RN buddies? ️👋 Thanks!
@ChrisPrakoso Жыл бұрын
I can't thank you enough for this! I was going on looking for all possible info on the net about how exactly to do what you are explaining here, and I just couldn't find the right info. It was a bit frustrating to say the least. But you've successfully explained it in just 10 minutes!! That's just awesome! Thank you again.
@galaxies_dev Жыл бұрын
Thank you so much Chris!!
@Baconbrix Жыл бұрын
At 3:14, if you define a React component as an anonymous function, i.e. `export default () => `, then React Refresh won't be able to restore the state inside that component correctly. This is because the function name is used as a restoration ID for components.
@galaxies_dev Жыл бұрын
Ahh thank you Evan!!
@MrDJsArcade Жыл бұрын
What would be the better way?
@pabloa_e Жыл бұрын
You speak and do thing fast, love it !!!
@galaxies_dev Жыл бұрын
Thank you!
@michelro Жыл бұрын
This is exactly what I was looking for, thanks a lot. I think if you need to say home/index when you don’t have the layout file and that’s why you were getting a warning.
@galaxies_dev Жыл бұрын
Yeah finally figured that out as well :D
@VHM_Dev9 ай бұрын
Great stuff. It actually helped me to understand how using Stack works - godsend!!
@galaxies_dev8 ай бұрын
Awesome!
@rapepongpitijaroonpong1036 Жыл бұрын
The contents in this channel is very infomative,it really helps me understand react native and able to go on. and I like how you explain in each part which important but most tutorial i found don't have.
@galaxies_dev Жыл бұрын
Happy to hear that and thank you for the kind words - more React Native coming soon :)
@Marieee180Ай бұрын
Omggggg BRO you saved me !!!! I was trying to create pages where the tab bar would still show but i didn't want those pages IN the tab bar !!! Why was that info so hard to find ??? The Expo-router docs online are so unclear and don't go into a lot of details, very frustrating
@galaxies_devАй бұрын
If you enjoyed it, could you share the channel with your RN buddies? ️👋 Thanks!
@alistairholt Жыл бұрын
You did a much better job than the docs and example repos. I spent a few hours on this as it’s completely counter intuitive to do things this way. I wouldn’t say Expo Router is anywhere near being ready for production especially given the state of the docs. It’s far simpler to just use React Navigation directly right now.
@galaxies_dev Жыл бұрын
It is a mindset shift, I agree. But it also simplifies things later on, so I think it's worth investing time into it - especially with Expo Router v2 out now!
@tusharnagar139810 ай бұрын
Thanks dear for helping me to digest cool stuff easily.
@formerly_chucks9 ай бұрын
Dude you just saved my bacon, thank you so much for this vid!
@galaxies_dev9 ай бұрын
Any time mate!
@MrSlim-yf7xo6 ай бұрын
at 7:13 how we remove "< (tabs)" ? thnk you
@tomhopkinslondon10 ай бұрын
This is a really helpful intro. Many many thanks.
@galaxies_dev10 ай бұрын
Glad it was helpful!
@jareeshcm444 Жыл бұрын
This sample as is didn't work for me. anywhere i can find the code? not sure what i am missing.
@qazafisheikh530Ай бұрын
hi simmon, i have question what if we try push tab bar above the screen , i have a login screen and when user login then user need to navigate inside app flow after auth which is tab bar
@josephine_gyamera20 күн бұрын
Thank you very much for this video, I almost gave up on the project🙏.I seriously don't know why Expo will create such unnecessarily complicated routing system😒, this could have been way simpler than what they have.
@galaxies_dev14 күн бұрын
Glad it helped!
@ryanbarry76703 ай бұрын
5:15 What are you meaning with this? I have replayed and I have no idea what you mean
@rishabh1S10 ай бұрын
Exact Video, I needed!! Thanks Man
@galaxies_dev10 ай бұрын
Glad to hear it!
@trollflix Жыл бұрын
I am getting "Unmatched Route" error, even though i just copied everything you did. I think there is some diff b/n JS and TS about routing. How to make this work on JS project, without TS?
@darkwoodmovies Жыл бұрын
I was having the same issue with TS. My issue was that I stupidly put the (tabs) folder under src/(tabs) instead of src/app/(tabs)
@CalvinTeixeira8 ай бұрын
i was getting crazy trying to create nested routes inside tabs, every time i created a new route it was creating a new tab... the point is the use of _layout.tsx inside my tab screen folder (like your /home/_layout.tsx)... thank you!!!!!!! i must to say that i've searching for a solution even the IA and even that can't help me until now!! hahahahha ty again!
@galaxies_dev8 ай бұрын
Great to hear!
@junioroga10 ай бұрын
Thank you very much for the video, really clarifying. I have 3 questions, I am doing the migration in a medium-sized project, with a mixed navigation of Tabs with Stack in each Tab.Screen. 1 - What is the best way to do this on the Expo router? I've seen several videos, docs and tutorials and I'm skating. I'm having a lot of difficulty. 2 - Can I point out the Expo Router Stacks while keeping the screen files in the src/screens folder? 3 - How to reuse the same screen in 2 different stacks? I have a screen that repeats in 2 stacks. Could you make a video about this, I believe that most React Navigation projects have these characteristics that I am having difficulty with.
@bassamsami73196 ай бұрын
thanks for your efforts , but how to make the tab bar shows in all pages of react native expo mobile app even the page is not shown in shortcuts of tab bar?
@awful9994 ай бұрын
for some reason when i use the (tabs) in the app/layout i am getting the default project example screen with the default tabs and none of my files in the (tabs) folder are being seen
@klincoder Жыл бұрын
Very useful and saved me time. Thank you.
@galaxies_dev Жыл бұрын
Happy to help - let me know when you encounter problems!
@IRazerIGhost10 ай бұрын
Somehow the articles i followed excluded the index file which constantly gave me unmatched routes :/ Thank you for saving me and making me learn some more about expo routs!
@galaxies_dev9 ай бұрын
You're welcome!
@lollyinnovation19484 ай бұрын
This was really helpful It's saved my Job Thanks a lot
@midicine211421 күн бұрын
So basically if you want tab bar to stay on screen, you need to create child folders within (tabs) and create a new stack?
@sierraobi3113 ай бұрын
Thank you, Simon! This was a nice introduction. I am still wondering how you use the you use the React Native Functional Export Component to autogenerate some boiler plate code for new screens. Do you have to install an npm package to use that 'rnfe' command or to use the export component in general?
@galaxies_dev3 ай бұрын
I think it's this extension: marketplace.visualstudio.com/items?itemName=jundat95.react-native-snippet
@ethanjones95784 ай бұрын
This was very helpful, thank you! I am trying to do somethign similar to this with one exception. Is there a way to navigate from a tab directly to a screen with a hidden tab bar? For instance, your 'list' tab navigated to a screen that linked to a 'New One' screen which did not have that tab bar. Is there a way to skip the middle screen and have the 'New One' screen be represented in the tab bar? Think of the 'new post' button in Instagram's tab bar. When the user presses on 'new post' it navigates to directly to a screen without the tab bar.
@getrogetro7509Ай бұрын
Redirect on android shows the index page initially when the application is launched, how can this be fixed?
@candyman35374 ай бұрын
File based router is great. But there is an issue to organise my code. For example, I screens, utils, components folder inside my app folder like usual RN project. But I don't want utils, components appears in the router and for screens, I only want the contents appeared in router. I know I can use [screens] for this purpose. But how to disable components, utils folders appeared in router?
@xmatav25 ай бұрын
Thanks mate really helpful stuff 👍
@galaxies_dev5 ай бұрын
If you enjoyed it, you could share the channel with your RN buddies ✌️ Thanks!
@rafacanical Жыл бұрын
I was looking for this! Thanks
@galaxies_dev Жыл бұрын
Hope you like it!
@vitor-is5od Жыл бұрын
i never work with mobile development. Do you think that is a good idea start by expo? Or should I learn react-native concepts first? I only choose expo, because seems to be a new react-native patterns (something similiar to CRA in react web dev)
@galaxies_dev Жыл бұрын
Expo is React Native, and everyone agrees that starting with Expo is the right way in 2023! So yes, use Expo and get started with React Native - it just helps with a lot of things :)
@vitor-is5od Жыл бұрын
@@galaxies_dev ok! :). Thankss
@korkechoussama51169 ай бұрын
that was exaactly what i was looking for ty man
@galaxies_dev9 ай бұрын
Happy I could help 💪
@isaaccastillo86286 ай бұрын
Hey Simon great video. I want to ask, if I have certain state in my "HomeScreen" page, and I want to make a new page with details with the info of my state of the HomeScreen, I need to use the useContext in the root layout.tsx of the Expo-router thing in order to do that? Sorry if this question is a dummy question, I'm a newbie with React actually.
@brunovivaldodev Жыл бұрын
Great video, and good explanation
@benadams899811 ай бұрын
Great video! Did anyone manage to replace (tabs) in the header when navigating backwards to say something else like the name of the page you came from or using the word "Back"?
@galaxies_dev11 ай бұрын
You should be able to set the headerBackTitle
@restenmadzalo1029 Жыл бұрын
Please make a tutorial on how to customize and change theme in tamagui
@galaxies_dev Жыл бұрын
Alright will talk about Tamagui soon!
@disminliguido Жыл бұрын
After i do the redirect with replace to a page that is inside the file (tabs) it shows this error " The action 'REPLACE' with payload {"name":"agenda"} was not handled by any navigator. Do you have a screen named 'agenda'? Do you know what could be happening?
@drivekashmir70496 ай бұрын
thank you very much i was lot confused about the index gile
@galaxies_dev6 ай бұрын
If you enjoyed it, maybe you can share the channel with your RN colleagues ✌️
@bullettime2808 Жыл бұрын
This works but the route outside the tabs is mounted twice and the animation also plays twice I think I'm gonna just refactor the whole app to use react navigation directly I've wasted like 6-7 hours trying to fix it
@galaxies_dev Жыл бұрын
Why is it mounted twice? There are some edge cases with Router that are not perfect yet, but usually it's an issue of the setup (and maybe not 100% complete docs)
@bullettime2808 Жыл бұрын
@@galaxies_dev it was a bug in expo router, It just got fixed 2 days ago with v2.0.4
@z1haze Жыл бұрын
so you have to keep duplicating the same layout file if you want to nest routes within the tab bar and still show the tab bar? That doesn't seem right, I hope I am misunderstanding
@galaxies_dev Жыл бұрын
I guess you could group them like (tab1,tab2) as the folder name and then reuse them!
@j4ck3 Жыл бұрын
If you want to use a context. where is the best place to warp the context provider? i have my index on the same level as my login and register screens/components
@galaxies_dev Жыл бұрын
Context should be in the top _layout, as this will always be applied!
@yutsacarm80216 ай бұрын
why do we need 2 lists ? one inside the tab one under the root folder why not just one
@frankfu11228 ай бұрын
Hi may I ask what extensions you used for code completion when you type ‘rnf…’
@galaxies_dev8 ай бұрын
I think it's this: marketplace.visualstudio.com/items?itemName=jundat95.react-native-snippet
@frankfu11228 ай бұрын
@@galaxies_dev thanks!
@khaledsanny4817 Жыл бұрын
Thank you ☝😉... make a video on expo router authentication implementation with ... i dont know... appwrite or firebase ?
@galaxies_dev Жыл бұрын
Good idea, thanks!
@cbHasib6 ай бұрын
Thank you so much, Simon, for your great content. I am facing some issues with nested routes. In my case, the parent layout is a Tab (Tab 1, Tab 2, Tab 3). I have a nested stack layout inside each tab. Suppose I am on Tab 1 and there is a link that routes to Tab 2 > Screen 3 (not the initial route). Now, on Tab 2, I can't go back to the main screen of Tab 2. It gets stuck on Screen 3 (clicking on Tab 2 does not route me to the main screen of the Tab 2). It would be great if you could give me a solution or make a short video about that. Thank you so much! 💖💖
@desislavanedeva92098 ай бұрын
does expo router is used for real projects, like react navigation library? thanks
@galaxies_dev8 ай бұрын
Yes, you can use it :)
@sarthaksahu22484 ай бұрын
Hey can anyone help I want to add more than 2 tabs is it possible
@fernandolara630 Жыл бұрын
Great video Simon! I like how you explain everything, most tutorials feel slow for people that are already familiar with React
@galaxies_dev Жыл бұрын
Happy I had the right pace in this video :) If you enjoyed it, maybe you can share the channel with your RN colleagues ✌️
@newtonsarr12345 ай бұрын
Why don' t you do drawer-navigation with dynamic routes on expo ?
@galaxies_dev5 ай бұрын
Because this video was about tabs, but you can do drawer easily as well!
@hafsahabibs Жыл бұрын
If i want to hide my tab bar from One of the screens using expo router. How to do that in my react native app?
@galaxies_dev Жыл бұрын
Usually you want to have that screen one level higher than the tabs layout so it's wrapped in a Stack and gets pushed!
@hafsahabibs Жыл бұрын
@@galaxies_dev thanks for your reply. Currently, the parent route is /home/ and the dynamic route I am looking to remove the tabbar is is /home/marketplace/search/[id]. Here id is creates a dynamic route. How will the solution your provided work in this case?
@hafsahabibs Жыл бұрын
I figured that out, I moved [ad] folder out of the (home) directory and it worked like a charm. Thank you so much.
@glaze4629 Жыл бұрын
I'm really new to this concept of file based navigation, if every file is route and so do folders are, how does one organizes these files and folders? For instance i usually have screens on its own folder and sometimes within this folder i also have a components folder with ui speficic componentes to this screen as well as a styles file. How can you ignore files and folders with this system? I'd like to ignore this components folder (including all the files inside it) as well as any .tsx file of my desire, thank you before hand if you know how!
@galaxies_dev Жыл бұрын
You can have folders at the top level next to the app directory and have like hooks, features, whatever.. Simply somewhere else but not in that folder!
@karldtrumpeter Жыл бұрын
Thanks. This helped me a great deal.
@galaxies_dev Жыл бұрын
Glad I could help!
@delanick7 ай бұрын
Can a person use Expo Router with Javascript file sinstead of TypeScript? I prefer JS and would just like to know.
@gentlekboy6 ай бұрын
Yes, you can. However, it's preferable to use Typescript to avoid some unnecessary bugs.
@oussamasethoum16658 ай бұрын
How can we have transition between tabs when navigating?
@galaxies_dev8 ай бұрын
I think not yet with the default tabs based on React Navigation.
@davidadokuru8139 Жыл бұрын
Thanks This is what I did to solve it. I was wondering if there was a better way 😅
@galaxies_dev Жыл бұрын
Yeah I guess not :D
@cfo3049 Жыл бұрын
Is it possible to implement a home/splash screen without all those tab bars and headers? I need to create a home screen with a button. This button navigates to the tab bar home screen. In React Navigation it's easy. I hope you know what I mean. best regards
@galaxies_dev Жыл бұрын
Sure, you can design this with layout files and simply not use a specific Stack layout for that home page! Will also do a tutorial on all things router soon again.
@Kevin-jc1fx Жыл бұрын
That looks cool. Is it ready for production yet?
@galaxies_dev Жыл бұрын
Well v1 is stable as they say here: expo.github.io/router/docs/
@tikod7236 Жыл бұрын
Hey thanks for your awesome video! Tell me, please, how can I connect redux in such a breakdown into files and such an architecture. I mean, exactly where should I use to push state to each page
@paysnug4470 Жыл бұрын
The background in tab is not working please help
@saeidghorbani-s6b4 ай бұрын
very helpful. thank you man
@kingdre2485 Жыл бұрын
We need a run through of a top tab with expo router
@homerreal Жыл бұрын
Simply, Thanks
@galaxies_dev Жыл бұрын
You are welcome!
@lolekakaa Жыл бұрын
Thats great tutorial! I have a question, Is it possible to combine Tab Bar Nav with Drawer in Expo, as I spent hours to do so unsuccessfully. I would like the bottom menu to be Tab Bar Nav, and also have the option to call Drawer Nav for example as an app settings menu. Thanks in Advance!
@galaxies_dev Жыл бұрын
Yes absolutely! Will prepare a new stream about all the different ways to handle this!
@aomafura3374 Жыл бұрын
Is it possible to transfer the tab bar from the bottom to the top of screen?
@galaxies_dev Жыл бұрын
I'm not sure, only thing I found is this experimental package from Evan: github.com/EvanBacon/expo-router-top-tabs
@otis26462 ай бұрын
gosh finally found the right video
@galaxies_dev2 ай бұрын
Happy to help!
@cfo3049 Жыл бұрын
It would be helpfull, you make a video, about pass API-data from one tab to another tab, with TS an expo-router.🙏
@galaxies_dev Жыл бұрын
You would either have to use state or only pass an ID and retrieve the details on the following page!
@artemalekseev2360 Жыл бұрын
How do you implement drawer in here? is it a folder like (drawer) ?
@galaxies_dev Жыл бұрын
Yes you would define the drawer in your layout and have the files next to it, just like with tabs: expo.github.io/router/docs/migration/react-navigation/drawer-navigator
@arozendojr Жыл бұрын
What is the safest way to send firebase data in ionic?
@JordanHesse Жыл бұрын
Hi Simon, nice video! I was wondering if its possible to navigate between two tabs programatically without the user clicking the tab at the bottom. Say there is a button in the home tab which when the user clicks it brings the list tab into view?
@JordanHesse Жыл бұрын
Nevermind, I figured it out. I just did router.push("route/to/tab") and it worked. I wish the documentation was more thorough.
@galaxies_dev Жыл бұрын
Yeah it's sparse, so if you got any questions, let us know in our Galaxies Discord channel!
@mrlectus Жыл бұрын
I am getting Attempted to navigate before mounting RootLayout Component
@davidadokuru8139 Жыл бұрын
Thanks😊
@galaxies_dev Жыл бұрын
You are welcome!
@MrAvelino2010 Жыл бұрын
Congratulations 👏. Can you make a series of clean architecture in React Native projects, cover pattern like atomic design and how to apply it in React Native Projects. I have been thinking build an app for authentication I wanna use third services such firebase auth or clerk, and maybe later change to another provider, with good practices to avoid accomplishment with one specific provider follow strategy pattern or other one for a particular case Also build from scratch or use one of your existent project to convert into PWA using expo.
@galaxies_dev Жыл бұрын
Thanks for the ideas - noted!
@alfangr5 ай бұрын
Thanks perfect tutorial.
@tis_cake Жыл бұрын
This video is amazing!
@galaxies_dev Жыл бұрын
Thank you!!
@shinypants2204 Жыл бұрын
good stuff! thank you
@galaxies_dev Жыл бұрын
You're welcome!
@zon6423 Жыл бұрын
Why is my (tabs) constantly displayed on the screen?
@zon6423 Жыл бұрын
sorry,when I continue watching,I find the answer.
@baron_adams Жыл бұрын
Hi Simon and thanks for your video. Can you make a video where you make an application with a drawer menu and with top swiper tabs in expo-router? Please
@galaxies_dev Жыл бұрын
Top tabs, interesting. Will see what I can do!
@davidadokuru8139 Жыл бұрын
I did this in the same project, I brought in react navigation top tabs And it worked easily with expo router
@Juju-ch5it Жыл бұрын
How did you do that 'rnfe' TAB short cut to create the index.js component?
@JEsterCW Жыл бұрын
Hes a Wizard
@galaxies_dev Жыл бұрын
I like how you think, but the snippets are simply part of this extension: marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets
@victorzerefos6557 Жыл бұрын
Hi there Simon, thanks a lot for the tutorial. There one thing I'm a little confused about, you showed how to use a tab screen as your first screen and How can we make a first screen with no tabbar and the second screen we navigate with a tabbar?
@galaxies_dev Жыл бұрын
You would need a layout file above the tabs layout - I think I'll do another detailed video on it now with router v2!
@victorzerefos6557 Жыл бұрын
@@galaxies_dev that would be amazing! thank you very much for the amazing content you share with us on youtube!
@jeegargoyani Жыл бұрын
it's really helpful and easy understand for the tab bar in expo-route. can you do one thing simon can we do the live talk for more about expo route so you and we can share the ideas each other. I think sound go. what do you think @simon
@simplexble31886 ай бұрын
what about navigation
@davidlintin Жыл бұрын
Hi. Can you please ask your buddies @expo how to hide a tab bar within a nested stack inside a tabbar thanks 😅
@davidadokuru8139 Жыл бұрын
That’s what he is showing in this video I asked the question in the last video.
@yucelduz4897 Жыл бұрын
test, headerTitle: "title", headerTitleAlign: "center", headerTitleStyle: { fontSize: 25, fontWeight: 'bold', color: 'red' }, headerStyle: { backgroundColor: 'orange', } }} /> Error -> The `redirect` prop on is deprecated and will be removed. Please use `router.redirect` instead what is problem and how to fix
@emenikeanigbogu9368 Жыл бұрын
thank you man
@galaxies_dev Жыл бұрын
You're welcome!
@galaxies_dev Жыл бұрын
Become a Stellar React Native dev @ galaxies.dev 🚀
@ahmedhamed5093 Жыл бұрын
better than docs wow, any source code for that ?
@galaxies_dev Жыл бұрын
All linked in the description!
@oscarescam4 ай бұрын
react navigation library was more easy and understandable
@valentinsoto7533 Жыл бұрын
Gracias hermano
@aroyanbs Жыл бұрын
Awesome
@jskaall Жыл бұрын
Expo Router seems very messed up, it’s hard to understand, the docs are awful/useless and theres no big advantage on using it
@galaxies_dev Жыл бұрын
Trying my best to answer questions around it!
@br4ndon364 Жыл бұрын
Still don't know how to actually customize each tab
@michelro Жыл бұрын
You can pass options to each Tab.Screen or to the Tab to do different things with then like hiding, changing the label and much more
@MrDJsArcade Жыл бұрын
Good info.. but who are you racing? Lol. I never understand why people put out tutorials and then talk and work as fast as humanly possible. I’m trying to wrap my head around these dynamic routes. With an image modal
@galaxies_dev Жыл бұрын
Sorry, will try to take more time to explain next time!
@MrDJsArcade Жыл бұрын
@@galaxies_dev lol thanks. It’s not just you. I get that you’re excited and that’s awesome. Just a little too fast for me. Some people sound really weird at .75 speed lol
@gentlekboy6 ай бұрын
For the very first time, I had to slow down the speed of a KZbin video to 0.5x 😂😂
@fabianhabilramdhan56226 күн бұрын
ur livesafer
@msahu25956 ай бұрын
❤
@ryanbarry76703 ай бұрын
You jump around so much, you click off the file browser so we can't see folder structure and have to pause and rewind to see it, you move your mouse so erratically and constantly stopping what you're saying to start another sentence. It's so hard to follow
@Erik-ZunigaАй бұрын
get good
@Matheus_1582 Жыл бұрын
Show👍
@yankelmelloul82457 ай бұрын
How can we keep the bottom tab bar after the push ?