10 Expo Router Tips You Need to Know

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

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

  • @lemontec
    @lemontec 4 месяца назад +17

    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  4 месяца назад +2

      Safe way!

    • @gregfenton
      @gregfenton Месяц назад +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.

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

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

  • @MarlonEnglemam
    @MarlonEnglemam Месяц назад +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!

  • @colt5870
    @colt5870 14 дней назад

    thanks for clarification about tab bar structure!

  • @mjohnson510
    @mjohnson510 4 месяца назад +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.

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

    Another banger video Simon!

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

    Amazing content as always

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

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

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

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

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

    Thanks for making such a great content!

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

    Gold gold, thanks for this!!!!!

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

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

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

    Thanks for this video, This covers lot of things

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

    wow added to my gold list :)

  • @Vitalii-1322
    @Vitalii-1322 4 месяца назад +1

    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

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

    Very Helpful... Thanks Simon!

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

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

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

    Thank you so much simmon

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

    Great content! Thank you Sir.

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

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

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

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

  • @jrhager84
    @jrhager84 3 месяца назад +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 2 месяца назад +1

      hit them and fix them so i benefit thanks

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

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

  • @ehtishamrehmat9059
    @ehtishamrehmat9059 4 месяца назад +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.

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

    great content

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

    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  2 месяца назад

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

  • @unemployed-developer
    @unemployed-developer 4 месяца назад +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

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

    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?

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

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

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

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

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

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

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

    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  4 месяца назад

      I was using 3.x!

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

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

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

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

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

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

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

    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

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

    GOLD!

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

    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 4 месяца назад

      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.

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

    Thank you!

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

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

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

    How do convert from React Native app to start using expo

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

    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  4 месяца назад +1

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

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

    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.

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

    nice
    save time in deeplink

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

    here early again

  • @MateoHrastnik
    @MateoHrastnik 4 месяца назад +15

    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 3 месяца назад

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

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

    Api route with prisma and postgres 😭😭😭

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

    Ionic or expo which one is best

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

    Use flutter 😂

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

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

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

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

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

      Skill issue

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

      Skill issue

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

      ​@@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