10 Expo Router Tips You Need to Know

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

Комментарии • 76

  • @yoavlevanoni4552
    @yoavlevanoni4552 5 месяцев назад +2

    Great video Simon! The screen props + search bar tip was very helpful!

  • @lemontec
    @lemontec 5 месяцев назад +19

    How to learn Expo Router:
    Step 1 read the documentation in like 10 mins
    Step 2 follow everything Evan Bacon does online

    • @galaxies_dev
      @galaxies_dev  5 месяцев назад +2

      Safe way!

    • @gregfenton
      @gregfenton 2 месяца назад +2

      I have read the docs, multiple times. I've watched and followed tons of what Evan has done. I have posted several docs enhancement requests and PRs.
      This video is a FANTASTIC compendium to the docs. I really hope the key points here can influence the evolution of the docs going forward.

  • @colt5870
    @colt5870 Месяц назад

    thanks for clarification about tab bar structure!

  • @MarlonEnglemam
    @MarlonEnglemam 2 месяца назад +1

    the search bar tip was gold!!! I need to do something like that because the app I'm working on need to update the content inside of the header dynamically based on the person who the user is talking to (chat app), defining the header components inside of the screen itself is the way to go apparently!

  • @mishen-thakshana
    @mishen-thakshana 5 месяцев назад +1

    Thanks for this video, This covers lot of things

  • @piojosoafull
    @piojosoafull 3 дня назад +1

    Great tips, thanks!!

  • @marcobitmess
    @marcobitmess 5 месяцев назад

    Amazing video! I’m building a brand new app and this video helped me with some problems I was having

    • @galaxies_dev
      @galaxies_dev  5 месяцев назад

      If you enjoyed it, could you share the channel with your RN buddies? ️👋
      Thanks!

  • @devokant
    @devokant 5 месяцев назад

    Very Helpful... Thanks Simon!

    • @galaxies_dev
      @galaxies_dev  5 месяцев назад

      If you enjoyed it, could you share the channel with your RN buddies? ️👋
      Thanks!

  • @SonAyoD
    @SonAyoD 5 месяцев назад +1

    This is a magic video. Videos like these really make the difference.

  • @JayeshSaini95
    @JayeshSaini95 5 месяцев назад +2

    Can you make a detailed video on Deep linking. I’m getting errors when trusting to open links using uri-scheme

  • @Maaaaars
    @Maaaaars 5 месяцев назад +5

    In Expo SDK 51 you can enable React 19 and React compiler so there is no need for useCallback nor useMemo. You use it around 10:50 mark.

  • @ra-dro
    @ra-dro 5 месяцев назад +1

    Thanks for making such a great content!

  • @juandaniel6726
    @juandaniel6726 5 месяцев назад

    Great content! Thank you Sir.

  • @Vitalii-1322
    @Vitalii-1322 5 месяцев назад +2

    Thank You for great tips!
    Maybe someone bumped into a problem when there are nested navigators inside tabs (each tab separate navigator) , and when You switch tab it flickers on first navigation (maybe some kind of first mount). I wonder how to avoid this flickering. Thank You in advance

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 5 месяцев назад +1

    Thank you so much simmon

  • @ricardocalixto4472
    @ricardocalixto4472 5 месяцев назад +1

    Gold gold, thanks for this!!!!!

  • @michaelmontero2902
    @michaelmontero2902 5 месяцев назад +1

    Amazing content as always

  • @gregfenton
    @gregfenton 2 месяца назад

    Great vid! Would be super-helpful if you posted this code as a repo.

  • @thepawelk
    @thepawelk 5 месяцев назад +1

    Another banger video Simon!

  • @ekhiw
    @ekhiw 5 месяцев назад +2

    Can you make tutorial involving bluetooth classic or ble?
    Or ior related sensor

  • @FernandoFerrufinoDuran
    @FernandoFerrufinoDuran 15 дней назад

    Thank you! Modal windows can run on Android? or just iOS

  • @muratyasar
    @muratyasar 5 месяцев назад +1

    wow added to my gold list :)

  • @unemployed-developer
    @unemployed-developer 5 месяцев назад +1

    Hey simon, ive got a question,
    Why are my react-native apps always large in size?
    I mean ive just implemented one of these examples (The secret tab) but my app download size is 67mbs, It is an android apk

  • @ehtishamrehmat9059
    @ehtishamrehmat9059 5 месяцев назад +1

    Please #Simon I would love you to make a video about debugging expo router projects, I am always stuck in debugging a bug on the app and it really feels exhausting to console.log() everything.
    P.S: Thanks for these tips, I have used some and would definitely try other as well.

  • @jrhager84
    @jrhager84 4 месяца назад +1

    Would you really recommend going with Expo Router over React Navigation? I'm worried I'll hit the 'wall' of limitations and then have to go back to React Navigation. For instance, shared-element transitions.

    • @martinnovak4356
      @martinnovak4356 3 месяца назад +1

      hit them and fix them so i benefit thanks

    • @jrhager84
      @jrhager84 3 месяца назад

      @@martinnovak4356 I decided to forge ahead, so if I find any workarounds I'll try to remember to post them here. haha

  • @igorkrikunov
    @igorkrikunov 5 месяцев назад

    Thank you!

  • @FredrikBurmester
    @FredrikBurmester 5 месяцев назад

    I can't get the searchbar to work. Is there anything else I need to do than shown in the video?

  • @dellryuzi
    @dellryuzi 2 месяца назад

    the headerSearchBarOptions didnt work for me? why? the header title can change but no searchbar?

  • @shahrozatiq5312
    @shahrozatiq5312 4 месяца назад

    Which one is better expo router or react navigation in speed and optimization?

    • @galaxies_dev
      @galaxies_dev  4 месяца назад

      Expo router is using React Navigation under the hood, you won't see any performance differences!

  • @anakinskywalker192
    @anakinskywalker192 5 месяцев назад

    Hey i was trying to follow your course "Animations using Reanimated" and the shared element transition was not working. Then I tried to run your code and it was not working there as well.
    Before I ran your code, I bumped the expo go to version 51 instead of 49, so I'm wondering: Does SharedElementTransition not work in expo 51? Is there any fix or alternate way to do this?

  • @smitdhimar1884
    @smitdhimar1884 4 месяца назад

    I have a doubt . assume you have a app directory and inside which there is a _layout.tsx, index.tsx, and sample.tsx . sample is a component I am using inside a index file. but in file based routing in react-native-expo when you try to access the page using /sample. it shows up the file . but i want that sample file to be extended from the routing

    • @galaxies_dev
      @galaxies_dev  4 месяца назад

      You would have a top level components folder in which you add shared components, not in the app directory

  • @fruitypie
    @fruitypie Час назад

    thanks for the video, it was very useful. could you recommend best react-native UI components library ready for production, please?

  • @personalquests
    @personalquests 5 месяцев назад

    How do convert from React Native app to start using expo

  • @siyabongahadebe18
    @siyabongahadebe18 5 месяцев назад +1

    Why are my routes(using expo router) suddenly not working on sdk 51 when they worked in sdk 50

    • @galaxies_dev
      @galaxies_dev  5 месяцев назад

      They are working on a fix!

  • @DihCpsPsy
    @DihCpsPsy 5 месяцев назад

    Which version of expo-router are you using on this video ? The "Set params before navigating back" does not works for me. Whenever I navigate back, I get an empty params 🤔

    • @galaxies_dev
      @galaxies_dev  5 месяцев назад

      I was using 3.x!

    • @Ro_dolfoSilva
      @Ro_dolfoSilva 2 месяца назад

      If you are calling router.back(), you should call the router.setParams() only after call the router.back() otherwise this will reset the params.

  • @oneafrodev
    @oneafrodev 5 месяцев назад +1

    great content

  • @ericsonl_
    @ericsonl_ 5 месяцев назад

    Any idea how to implement Action on page focus for input focus and code input based from your fintech clone you made? i try this but don't have focus now

  • @MateoHrastnik
    @MateoHrastnik 5 месяцев назад +16

    Expo router really chose the worst of both worlds. You define your routes in the file system but also pass options through code in a single file

    • @jilherme
      @jilherme 4 месяца назад

      yeah, I thought it would be more intuitive like Nextjs, at least the Stack thing

  • @sodjadfaroughebrahiem8344
    @sodjadfaroughebrahiem8344 5 месяцев назад

    i am doing the exact same thing with the modals. in a deep nested project. ExpoRouter.
    its not working. the first page of the is not working as a model. the second page works as a modal.
    the way you are showing it not working. can you please go into details with stack in the modals

    • @sodjadfaroughebrahiem8344
      @sodjadfaroughebrahiem8344 5 месяцев назад

      so after some headache. I found out that you can only declare the modal in the root layout.
      on other layouts you cannot have the first page as a modal.

  • @codegeez4098
    @codegeez4098 5 месяцев назад

    Hey #Simon what about if the user try to visit the protected page and redirect it to login screen so, i would like to know how i can navigate user after successful login to the try to visit page

    • @galaxies_dev
      @galaxies_dev  5 месяцев назад +1

      You could attach some query params and then check those and perform a redirect manually!

  • @alirezaarshcompany
    @alirezaarshcompany 5 месяцев назад

    nice
    save time in deeplink

  • @MatthewMcCredy
    @MatthewMcCredy 4 месяца назад

    Is there anyone that explains these concepts in a non-code environment?
    I'm currently working on a project that's using expo-router and everyone seems to have their own approach to doing things, and the documentation is generally 2 liners that just point to RN native docs.
    Your videos are great and informational, but you move onto one concept before explaining the previous - which is okay! Many people want/need this style of video - but in those moments I generally hit pause and visit the documentation which Expo seems notoriously bad at maintaining.

  • @behicsakar
    @behicsakar 5 месяцев назад

    GOLD!

  • @dileepparmar1514
    @dileepparmar1514 5 месяцев назад

    Ionic or expo which one is best

  • @mykus1000
    @mykus1000 5 месяцев назад

    Api route with prisma and postgres 😭😭😭

  • @emmanueletukudo1213
    @emmanueletukudo1213 5 месяцев назад +1

    here early again

  • @flutter-fm1kl
    @flutter-fm1kl 5 месяцев назад

    Use flutter 😂

  • @belkocik
    @belkocik 5 месяцев назад +1

    Tip number one: dont update to SDK 51 -> typed routes don't work.

  • @gnom-om
    @gnom-om 5 месяцев назад

    expo router is the worst lib i ever see. but the main problem is that expo moves it as a main router.

    • @tylercoffman540
      @tylercoffman540 5 месяцев назад +1

      Skill issue

    • @shakilahmed6870
      @shakilahmed6870 5 месяцев назад +1

      Skill issue

    • @Imam.Mehdi_
      @Imam.Mehdi_ 5 месяцев назад

      ​@@tylercoffman540he is right,,, last time I added boarding screen in my app... Which was to appear only firsts but the the problem is expo router don't support initialroutename in layout we have to to use redirect component which cause a flash on app start