Twitter Top Tabs Navigation with Expo Router

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 84

  • @galaxies_dev
    @galaxies_dev  ปีที่แล้ว +2

    Join Galaxies.dev today - the Home of the Best React Native content🚀

    • @abdu5822
      @abdu5822 ปีที่แล้ว +1

      We need more courses

  • @adoptimum
    @adoptimum หลายเดือนก่อน +3

    It works really well (on SDK 52) with the bottom tabs from expo router which I learned from Simon's Airbnb tutorial. Just create a folder instead of a file in your bottom bar routing folder and follow this video.

    • @rakzfn
      @rakzfn หลายเดือนก่อน

      Could you kindly show me some sample code of how you got it working? I been trying for ages.

    • @adoptimum
      @adoptimum หลายเดือนก่อน

      @rakzfn Hi! Are you able to create bottom bars in the same way as in the Airbnb tutorial? Can you show me your bottom bar folder structure?

  • @Iamtheinevitable
    @Iamtheinevitable ปีที่แล้ว +16

    Would be really nice to see a tutorial on hiding top bars on scroll in a virtualized list

    • @abdu5822
      @abdu5822 ปีที่แล้ว

      ++ same thinking

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      That sounds like a nice challenge!

  • @Flash136
    @Flash136 ปีที่แล้ว +2

    Awesome tutorial. Honestly, I think this should be added to the Expo Router documentation. Top tabs are fairly common in apps.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +2

      Thank you! Give it a share so maybe it reaches the Expo team :)

  • @willdunertm5047
    @willdunertm5047 ปีที่แล้ว +2

    Happy new year! Love this video, it would be amazing more videos showing how to make cool stuff from famous apps

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Definitely on my list - anything specific that comes to your mind?

    • @willdunertm5047
      @willdunertm5047 ปีที่แล้ว

      @@galaxies_dev I love twitter drawer features, the editing from instagram stories (stickers and drawings), or cool design systems like new discord ui or inkdrop mobile app UI

  • @bubble8718
    @bubble8718 ปีที่แล้ว +6

    Interesting would be to have the collapsing of the top tabs when scrolling a flashlist.

    • @Iamtheinevitable
      @Iamtheinevitable ปีที่แล้ว

      I know right, but they never make videos on that 😭😭😭😭😭😭😭😭

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Will see what I can do!

  • @Giovanne-Tarcitano
    @Giovanne-Tarcitano 5 หลายเดือนก่อน +2

    This implementation is causing a crash in Expo SDK 51, possibly due to the V3 of expo-router. On SDK 49 it was working as a charm

  • @skinnyr4473
    @skinnyr4473 11 หลายเดือนก่อน +1

    Really useful video Simon, great job! thanks

    • @galaxies_dev
      @galaxies_dev  11 หลายเดือนก่อน

      My pleasure!

  • @jayjaycode4513
    @jayjaycode4513 3 หลายเดือนก่อน +1

    great work right there simon

    • @galaxies_dev
      @galaxies_dev  3 หลายเดือนก่อน

      Thanks mate!

  • @AnkurRathi-br9fj
    @AnkurRathi-br9fj 10 หลายเดือนก่อน +2

    What about top navigation with bottom Tab stack from expo also.

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

      Good point, might have to use a different component in that case :/

  • @EverrynN
    @EverrynN 9 หลายเดือนก่อน

    17:04 yo what are those sounds
    Thank you for the tutorial btw

  • @FernandoFerrufinoDuran
    @FernandoFerrufinoDuran 27 วันที่ผ่านมา

    Thanks for the tutorial, but when I add a horizontal ScrollView, Material Top Tabs doesn't work correctly and it changes screen instead of scrolling the ScrollView.

  • @manaspaul
    @manaspaul ปีที่แล้ว +1

    Would love to see some challenges. Like recreating the
    TH-cam player which has the gradient in the background based on the video output.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Oh yeah that's definitely an interesting one!

  • @aconime
    @aconime 11 หลายเดือนก่อน

    Great stuff, thanks for showing this!

    • @galaxies_dev
      @galaxies_dev  11 หลายเดือนก่อน

      Glad you enjoyed it!

  • @AmenadielDav
    @AmenadielDav หลายเดือนก่อน

    Do we have to do this in tsx? Usually my files are in jsx

  • @DamjansWorkshop
    @DamjansWorkshop ปีที่แล้ว +1

    Beautiful, thank you!!!

  • @zacharyzheng9326
    @zacharyzheng9326 ปีที่แล้ว

    Good job! I appreciate that, however I think you done the the header like x but not footer

  • @vishalbhati8974
    @vishalbhati8974 ปีที่แล้ว

    Nice, I often face issue with RN env for some reason, if you find time can you create a video on proper env set up?

  • @vincenzocristiano135
    @vincenzocristiano135 3 หลายเดือนก่อน +1

    you absolute legend!

    • @galaxies_dev
      @galaxies_dev  3 หลายเดือนก่อน +1

      Thank yoU!

  • @Nayco.o
    @Nayco.o ปีที่แล้ว +1

    Please a video on how to put splash screen with expo router in the case we have an authentication setup 🥹

  • @rtl6832
    @rtl6832 8 หลายเดือนก่อน

    Good stuff! But how can I get the "swipeable" tabs with bottom tab navigation? react-native-tab-view appears to have an option to move the tabs to the bottom but I can't find that option on Material top tabs.

  • @waleefalrooh8
    @waleefalrooh8 หลายเดือนก่อน

    How can i do it with tabs ?

  • @rayharil
    @rayharil 6 หลายเดือนก่อน

    can the top bar disappear when scrolling ?

  • @muhamotto2084
    @muhamotto2084 5 หลายเดือนก่อน

    What is harder and would like to see how to render top tabs dynamically! because i am struggeling with that specially for rtl! i get the toptabs but the indicator is not following with the layout when using rtl!!! its driving me crazy!

  • @Am-rr8hu
    @Am-rr8hu ปีที่แล้ว +2

    What is the pack name for like you type and you can see the code or error

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +2

      Probably "Pretty TypeScript Errors"

    • @Am-rr8hu
      @Am-rr8hu ปีที่แล้ว

      @@galaxies_dev thanks 😊

  • @aabbccddef
    @aabbccddef 11 หลายเดือนก่อน

    What is the recommended feature for the code to auto complete in the video? copilot?

    • @galaxies_dev
      @galaxies_dev  11 หลายเดือนก่อน

      Yeah I use Copilot

  • @lanskaba3668
    @lanskaba3668 ปีที่แล้ว

    Guys which extension he is using that display the error while coding?

  • @faddalibrahim3443
    @faddalibrahim3443 6 หลายเดือนก่อน +1

    Amazing 🔥🔥

  • @RakeshVishwakarma-j2c
    @RakeshVishwakarma-j2c ปีที่แล้ว

    Hi Simon
    My understanding for ionic gives you the benefit to write cross platform application eg: (web, android or IOS), Now am looking forward on react do we have similar benefits with react as well where I can code once and deploy for any platform I am really excited to understand the in depth differences between ionic and react and as far in terms of career perspective should I continue with ionic or react ?

    • @justpatrick_
      @justpatrick_ ปีที่แล้ว

      I'd suggest react native over ionic. It also offers the cross-platform capabilities that ionic has and is more perfomant. There are also more jobs for it

  • @Giovanne-Tarcitano
    @Giovanne-Tarcitano 5 หลายเดือนก่อน

    This implementation is causing a crash in Expo SDK 51, possibly due to the V3 of expo-router. On SDK 49 it was working as a charm. Do you have any updates to make it work with v3?

    • @compton8301
      @compton8301 หลายเดือนก่อน

      Maybe do that and share with the rest of the community?

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 7 หลายเดือนก่อน +1

    Thank you so much

  • @uv_codes
    @uv_codes 11 หลายเดือนก่อน +2

    How can I make the Top Tab Scroll upwards whenever I scroll up on the screen.
    For example: The TH-cam Channel Screen has a header, then below it a similar Top Tab Navigation Bar and then below the bar the content according to the tab of Top Tab Nav. When u scroll on that screen the content and the top tab and the header all move up

    • @AftabShaik-r4z
      @AftabShaik-r4z 9 หลายเดือนก่อน +1

      even i want that did you get the any solution please let me know

    • @uv_codes
      @uv_codes 9 หลายเดือนก่อน +1

      @@AftabShaik-r4z I haven't got any solution. Did u?

    • @ramiwang
      @ramiwang หลายเดือนก่อน

      +1,I'm looking for solutions to these as well.

  • @markpw1
    @markpw1 11 หลายเดือนก่อน

    I'm struggling to get this working with dynamic routes as 'href' does not exist in type MaterialTopTabNavigationOptions. Any way to support href from Expo router? Or any work around?

    • @Anes-gu4sw
      @Anes-gu4sw 11 หลายเดือนก่อน

      Hey, any chance you found a solution for this? I have the same issue.

  • @andrzejhanusek3718
    @andrzejhanusek3718 ปีที่แล้ว

    @galaxies_dev Did you encountered error in dark mode? Another stacks adapts automatically, but material top tabs doesn't reflect that change.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Haven't checked with different modes :/

  • @rbasket8
    @rbasket8 7 หลายเดือนก่อน

    This works in web? React Navigation toptabbar doesnt work in web, just mobile.

  • @FahmiEshaq
    @FahmiEshaq ปีที่แล้ว +1

    Excellent

  • @adilrao7777
    @adilrao7777 ปีที่แล้ว +1

    Amazing

  • @angeromeogouebi2948
    @angeromeogouebi2948 ปีที่แล้ว +1

    🔥🔥🔥

  • @Moreoverover
    @Moreoverover ปีที่แล้ว +1

    I find it strange that the only way to achieve swipe gestures is to use the Material Top Tabs Navigator, and then you have to very esoterically puzzle it together with Expo Router to get it working, like c'mon, the documentation should be better than this for such a common feature.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      I think there are other packages if you simply want swipeable segments, aren' there?

    • @Moreoverover
      @Moreoverover ปีที่แล้ว

      @@galaxies_dev Will try them out! There are some issues with some components re-rendering unfortunately with the material top tabs. Happens when you use a camera in one tab for example.

  • @pinmonnyka3093
    @pinmonnyka3093 ปีที่แล้ว +1

    thank you

  • @Riazbapoo
    @Riazbapoo ปีที่แล้ว +1

    please consider doing the same tutorial ionic and angular

    • @WarSTRIKER1299
      @WarSTRIKER1299 ปีที่แล้ว +2

      He made a video like two years ago where he built the twitter UI with Angular/Ionic. It's pretty much the same as of now, you just need to adjust the styling like colors and icons.
      I honestly don't get why everyone keeps commenting "Now do this or that with Angular/Ionic."
      Simon is a great instructor and as he already mentioned several times, that he'll do more RN related material.
      He isn't the only person on the internet who teaches Ionic/Angular related stuff.
      Also, Ionic has great documentation about their components. So it should be fairly easy to achieve the exact same result. Basic understanding of the components, angular and some basic knowledge about styling that's it.
      Sorry for the long comment and the harsh tone, it's nothing personal, but it's frustrating to see when people do this.

    • @Riazbapoo
      @Riazbapoo ปีที่แล้ว +1

      @@WarSTRIKER1299 if it’s frustrating to see then close your eyes and keep scrolling.
      It was a simple request. He’s a grown man who is free to accept or deny the request.
      No idea why you’re getting worked up over a strangers comment on the internet. No one has denied that Simon is a great instructor. That’s why we watch his videos. He explains things well and knows how to get a point across.
      Now carry on with your day.

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว +1

      Thank you both, and yes I have about 500+ videos on Ionic/Angular and only a fraction about React Native, that's why this is my current focus.
      Don't get caught up in the details and ship great apps with the tools you feel most comfortable with!

  • @drivekashmir7049
    @drivekashmir7049 7 หลายเดือนก่อน +1

    nice

    • @galaxies_dev
      @galaxies_dev  7 หลายเดือนก่อน

      Thanks!

    • @drivekashmir7049
      @drivekashmir7049 7 หลายเดือนก่อน

      @@galaxies_dev please make a video on customizing header style in expo router and switch from expo router to react navigation.

  • @cesarmerlo9999
    @cesarmerlo9999 ปีที่แล้ว +1

    love it