THE React Native Tech Stack for 2024 😎

Поделиться
HTML-код
  • Опубликовано: 22 май 2024
  • Wanna get serious about React Native? Then you need these technologies in 2024! We talk about UI libraries, state management, routing, and all the choices you must make when building a React Native app in 2024.
    🚀 Use code GALAXIES24 for a 25% discount on Galaxies PRO 🚀
    🔥 Learn React Native FAST: galaxies.dev
    🔗 Should you use Expo: • Should you use Expo fo...
    🔗 UI Libraries: • Top 9 React Native UI ...
    🔗 Data storage: • What’s the Best React ...
    🔗 React Native UI Components: • 10 Must-Have React Nat...
    🔗 Fernando Rojo Solito Podcast: • React Native + Next.js...
    🔗 Why Tanstack: tkdodo.eu/blog/why-you-want-r...
    🤔 Why I moved to React Native: • Why I moved to React N...
    #############################
    ❤️ You can also find me on:
    Twitter: / schlimmson
    Instagram: / simongrimm_
    #############################
    #reactnative #reactjs #appdevelopment
    📌Chapters:
    00:00 Intro
    01:11 Typescript in 2024?
    01:40 RN CLI or Expo?
    02:30 How Should You Route Your Apps?
    03:40 Best UI Libraries
    04:48 State Management
    05:35 Best Data Fetching
    06:20 Best Data Storage
    07:45 The BEST Animator
    08:46 How To Debug
    10:00 Error Reporting
    10:18 Cross Platform
    11:34 Best Components
    12:10 How I Feel / Suggestions
    13:16 Outro
  • НаукаНаука

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

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

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

  • @gregorydaggett7444
    @gregorydaggett7444 3 месяца назад +7

    If you can, could you add the logos of all the components you're talking about? Having a visual cue (like a check mark or a star for the best one) along with the audio would make it a little easier to comprehend it. As a bonus, seeing the 'stack' build on the side of the screen would be interesting as an overlay. Great info!

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

    Thanks for this video Simon, this is very valuable knowing this kind of information about React Native.

  • @farzan2799
    @farzan2799 День назад

    Thanks! this video was really helpful 😍

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

    Thank you for all the suggestions :)
    Pretty helpful to get started..

  • @joan.paucar
    @joan.paucar 4 месяца назад +2

    Great video Simon, i was using rn paper but tamagui looks amazing

  • @shanekeney3646
    @shanekeney3646 4 месяца назад +11

    What I’ve been using lately:
    - Expo Router
    - Nativewind (Tailwind for RN)
    - Tailwind-variants in cohesion with the above for component variant management
    - API Fetching: TanStack or Apollo Client (depending on if I’m working with GraphQL)

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

      I'll get more into Nativewind soon as well 💪

  • @kapobajza3708
    @kapobajza3708 4 месяца назад +27

    I think TanStack Query belongs in the state management category, because it's used for async state management. Even if you visit their website, you will find this exact description there: "Powerful asynchronous state management for TS/JS, React, Solid, Vue and Svelte".
    TanStack query is not a data fetcher. Data fetchers are, like you said, axios, fetch, etc. TanStack query doesn't fetch data, you still need to use fetch/axios or similar tool for that. It just manages and caches it.

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

      You are right, I over simplified it for that category!

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

      Let’s just say remote state management
      For TanStack Query

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

      @@surajthallapelli2359 I should either use zustand or Tanstack?

  • @gomesbruno201
    @gomesbruno201 4 месяца назад +5

    I actually feel like the navigation is more of a personal preference. I used Expo navigation, and I know it's great, even easier than React Navigation. However, at some point, my code ended up with so many nested folders that creating new code became difficult. It might not be a problem for everyone, but as someone who really struggles with folder organization in React, I had a real hard time trying to use things like that.

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

    Thanks for sharing! Really helpful!

  • @sachithrrra
    @sachithrrra 4 месяца назад +3

    great!! please do a detailed tutorial on tamagui

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

    Great choices, Simon! We almost use the same libraries for our "obytes starter" (a starter to create production ready React Native app). We are going to switch to Expo Router too after trying it in some of our internal projects.
    Here are a few other choices I usually use.
    * react-hook-form for forms
    * expo EAS to build the app and generate certs/profils ( a life saver)
    * react-native-keyboard-controller to handle keyboard issues
    * expo-image as default image component
    * react-query-kit: a simple wrapper for react-query that make creating hooks effortless

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

      Nice, love those additions! Thanks for sharing 💪

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

    God bless you man, honestly. I'm a new React Native developer and you've made my life a hell lot easier

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

    Great bro

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

    Great video I'm migrating from react web to react native in a new job and this video gave me an update on what to focus on

  • @ashil816
    @ashil816 4 месяца назад +7

    Great informative video, how about using redux toolkit with RTK Query feature to have the state management and data fetching into a single package?

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

    Perfektes Video! Sehr passend gerade, da ich soviele Sachen teste und ich gerade mein Projekt mit Zustand, Expo Router und Nativewind aufbaue.
    Paar Fragen hätte ich noch:
    - Hast du noch eine Idee, wie man alles richtig dokumentiert oder wo man das Projekt übersichtlich managed?
    - Welches back-end würdest du empfehlen (Nutze Supabase und möchte evtl noch Laravel mit einbauen)
    - Wollte ursprünglich TamagUI nutzen, ist aber zu umständlich für mich gewesen. Wird in Zukunft ein ausführliches Tutorial kommen?
    Dankeschön und sehr schöne Arbeit!

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

      but you people still use Java for web development )

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

    I use Tanstack query for State Management itself haha. My go to usage at the moment is Expo > TypeScript > React Native Paper > Tanstack Query > normal stylesheets

  • @fabsync
    @fabsync 9 дней назад

    it will be great to see a tutorial on react native web.. I think that's the future :)

  • @phemartin
    @phemartin 4 месяца назад +5

    I would love a tutorial on TURBO REPO + TAMAGUI + NEXTJS + REACT NATIVE + SOLITO combo

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

      Sounds like an idea for a future stream :)

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

    Great video, Simon. Thanks for sharing. What about authentication? What's the best stack to use in 2024 for user authentication? Clerk, perhaps?

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

      Yes Clerk would be your best friend if you don't have auth on your own service!

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

    Any thoughts on using Jotai as state management? I really love the idea of how simple it is. Reminds me of using Vue or Svelte. But I did hear that it can cause some problems when using it.

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

      Heard only good things about Jotai so far, but need to explore it more!

  • @immipixediter210
    @immipixediter210 4 дня назад

    Emittor for state management

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

    Zustand is great!!

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

    can you create a project on monorepo using node , react native

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

    great video, thank you simon!

  • @chidubemowoh8645
    @chidubemowoh8645 22 дня назад

    @galaxies_dev have to migrate from ionic to react native due to some performance issues and the app crashing on some devices but now facing issue base on rendering mathjax equation on react native using web view which works well. Though the issue is running the app offline because the current plugin am using for rendering the equation uses file from cdn
    Any clue on how to use html file which links static js and css locally on web view in react native

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

    Flipper is the best for debugging !

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

    @simon, great video. Curious why you didn't mention react-native-elements for UI? Seems like a decent choice. Any opinion on this?

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

      I feel like there are too many options for UI out there, and Tamagui (and Nativewind) is probably bet for universal apps right now. But sure, Elements or RN Paper are great libraries as well.

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

    mmkv + zustand = best data storage

  • @mikoajkaleta6856
    @mikoajkaleta6856 Месяц назад +1

    wow, that was helpful

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

    have you experienced any bugs with expo-router? I had some strange problems with navigating between tabs and stacks when I separate the stacks and tabs into different folders.

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

      There might be some edge cases, but in many cases I found my structure was the problem and not Expo Router itself!

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

    Hi, i really want a part time job. Can you guys have some tips and where good to start now ?

  • @ShortCodeDev
    @ShortCodeDev 4 месяца назад +8

    awesome content.plz make a detailed video on Cross Platform (mono repo) as you had menstioned. in youtube there is no video available for the same. plz plz make a detailed video

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

      Oh I would be interested in this too!!

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

    Can you explain why using open source UI components is better than building our own components? I know that using pre-built components are way faster, but other than that building our own increases flexibility, and improves us

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

      As an exercise, on the web, create your own data table component from scratch with half the features of TanStack Table, then just use TanStack Table. Which took 1-2 weeks to make a buggy version?

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

      @@CoryTheSimmons table components are always mess. I was particularly talking about RN UI components

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

    arent you still limited by expo if you have to integrate with a thrid party package that doesn't support expo?

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

      No, you can simply do a prebuild and install whatever you want!

  • @msahu2595
    @msahu2595 Месяц назад +1

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

    I want to build a chat component but i dont want to use a fully managed service. I started with react native gifted chat but its no longer maintained. Does anybody know an alternative to react native gifted chat ? thanks

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

      React native gifted chat is the best thing you can currently use, and it provides all what you need (functionalities and UI customization)

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

    Why did you skip Database?

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

    That code doesn’t work with annual subscription

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

    I am currently learning react native and am getting confused as there is so much noise on flutter being more performant than react native, and getting more dominance in the future.
    1. Does react native really fall below Flutter?
    Pls what are ur opinions?

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

      In performance, yes.

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

      But react native has pretty high market coverage in terms of job opportunities!

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

      @@Kats0unam1 Not true cos of the react native new archicture which is bridgeless

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

      Thats true@@sarfrazshah5158

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

    what are your thoughts on Dripsy?

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

      Another great library in the ecosystem!

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

    I don't think Tamagui should be recommended - yet. I had to give up on it after wasting half a day on it. Annoying setup and brittle. Once setup (thanks to expo stack) it would randomly error on me saying it couldn't be found when adding a component down the tree.

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

      Because of those issues I now have a course on Galaxies about working with Tamagui - but I agree!

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

    mmkv support expo? need prebuild?

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

      Yes you need prebuild, but it takes like 3 minutes and then you can continue you work :)

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

    I’m not learning typescript

  • @erfelipe
    @erfelipe 4 месяца назад +3

    Expo?! Arrgg... never ! CLI of course!

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

      100%

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

      Exactly 💯... expo is good for development... Large app size on production

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

    dont forget react native mmkv and twrnc

  • @amadzarak7746
    @amadzarak7746 День назад

    Guys I feel like I should just use Swift and Kotlin 😅😅

  • @user-iy2ol7ob3g
    @user-iy2ol7ob3g 4 месяца назад

    please project the store in react native

  • @codebelt2822
    @codebelt2822 5 дней назад

    oh God that fear you gave us for a second 1:55

  • @MarcosVinicius-gj6qg
    @MarcosVinicius-gj6qg 4 месяца назад

    Simon! Only you can save us. Make a tutorial teaching how to build the ionic 7 without the capacitor. It's full of errors. For God's sake!

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

    Is anyone from you check UI libs for performance? Or you are using it because other lazy devs use it? StyleSheet first place, Restyle next. That all you need.

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

    Dart -> Javascript

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

    using tamagui is painful

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

      Why?

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

      @@galaxies_dev mainly the old version of reanimated dependency(bottom sheet) part of it

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

    Expo gives a freedom? Seriously??
    You just say that Expo has problem with debug. Then where is freedom?

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

      Yeap with Expo dev clients you can do everything nowadays.

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

      You, with expo development builds, u can run react native core packages without stress