React Native Just Got 550% Faster

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 363

  • @shahidullahmuffakir668
    @shahidullahmuffakir668 3 місяці тому +310

    Lesson learnt, "don't upgrade it, start it from scratch."

    • @prashlovessamosa
      @prashlovessamosa 3 місяці тому +1

      😅

    • @MrDragos360
      @MrDragos360 3 місяці тому +11

      That's what I am trying to convince my work mates. Intead of updating each component to make it compatible with Vue3 we should just rewrite everything. It will be faster, we will get a change to get a second look at the logic and it might not become a mess.

    • @MadsterV
      @MadsterV 3 місяці тому +7

      @@MrDragos360 decouple, then rewrite modules from scratch. Spread out the cost, parallelize efforts, make it resilient, give yourself leeway to change course if needed.

    • @MrDragos360
      @MrDragos360 3 місяці тому +4

      @@MadsterV I'd rather rewrite it from 0 in the correct way than fix it. It is a bit of a mess now. Like, we have three libraries that does tooltips 😅😅

    • @mik3lang3lo
      @mik3lang3lo 3 місяці тому +3

      😂😂😂

  • @rustystrings0908
    @rustystrings0908 3 місяці тому +22

    "starting a new project, moving all the code over and it just works"
    THEO IS ONE OF US

  • @EricBishard
    @EricBishard 3 місяці тому +14

    So I’m a web developer for over twenty years. I’ve never built native apps. I always decided to learn more web related tech rather than both. When React Native came along I thought this would be a good time. But other than just playing around with workshop/demo code using Expo. I’ve not had to use it.
    But that’s about to change, I need to learn it for work and I’m so happy that I will be able to really start now. It seems like a huge milestone for the framework.

  • @sherlockmaverick
    @sherlockmaverick 3 місяці тому +102

    Really putting NATIVE performance in React Native.
    On another note, I love how smooth and organic your soknsor transitions are. Segued right into it.

    • @avijitpal1421
      @avijitpal1421 3 місяці тому +1

      what does this native actually mean?

    • @nexovec
      @nexovec 3 місяці тому +2

      ​@@avijitpal1421 Well they haven't found the answer to that question yet. Somehow it does not mean neither native java nor ARM assembly anymore. Best explanation I can come up with is it probably just means it has integration with system APIs.

    • @md.jubairahmed6580
      @md.jubairahmed6580 2 місяці тому

      @@nexovec what about the app size?

    • @nexovec
      @nexovec 2 місяці тому

      @@md.jubairahmed6580 I don't have a single clue what you're asking. App size... probably still just as terrible as normal react?

  • @pokefreak2112
    @pokefreak2112 3 місяці тому +43

    25:15 this is a React problem, not a JS/DOM problem. It's pretty trivial to create a system that swaps out subtrees in an animated manner but VDOM is likely to get in your way.

    • @timonjur
      @timonjur 3 місяці тому +6

      Svelte was the first thing that I thought of when Theo said that

    • @stephan553
      @stephan553 3 місяці тому

      Vue got this easy-peasy since forever.
      Hell, you need no framework. Just look for auto-animate... Theo simply flunked his LMGTFY research there.

    • @IncomingLegend
      @IncomingLegend 2 місяці тому +1

      @@timonjur Vue did it first and better

    • @timonjur
      @timonjur 2 місяці тому +1

      @@IncomingLegend and I don't care about Vue, but about svelte 🙃

    • @IncomingLegend
      @IncomingLegend 2 місяці тому +3

      @@timonjur you don't have to be this passive-aggressive, I'm glad you and the other 3 svelte devs are happy about it

  • @virtual5754
    @virtual5754 3 місяці тому +109

    Theo: I hate ruby rails for code gen
    Also Theo: code gen in rn, nice

    • @gofullstack
      @gofullstack 3 місяці тому

      🤣🤣🤣

    • @zuma206
      @zuma206 3 місяці тому

      When has he said that?

    • @azmah1999
      @azmah1999 3 місяці тому +8

      @@zuma206 Probably when he shat on DHH's calendar app, but I'm not sure. However I also remember him saying that the fact ruby on rails depend so much on codegen is bad.

    • @brangja4815
      @brangja4815 3 місяці тому +1

      He also said the same thing about laravel xD

    • @gofullstack
      @gofullstack 3 місяці тому

      @@brangja4815Theo looked surprised when he didn’t see much performance difference between the old architecture and the new one. When the architecture was first introduced it never promised a big performance change.

  • @Kiyuja
    @Kiyuja 3 місяці тому +7

    this could be big. Always lovely to see performance upgrades for the frontend world.

  • @upsxace
    @upsxace 3 місяці тому +10

    This got me excited. Hopefully they will be able to fix the input thing, because its genuinely weird for that bug to be hanging around, even though i also agree with you that no one should implement inputs that way anyways

    • @999satyam
      @999satyam 3 місяці тому +1

      noob here. how should they then?

    • @upsxace
      @upsxace 3 місяці тому +1

      @@999satyam In my opinion the best way of doing it, just like i think the best way of doing on web also is, is reading the value from the inputs only on the submission time(or whenever you actually need it). There is no need to cause rerenders just because the value of an input is changing unless you're doing something like a search bar that imediatly shows results(in this case you would use a throttler function). So instead of using value prop, you use defaultValue, and then on submission you read the values from the input using a ref on the inputs, or using the onSubmission prop of the Form component.
      People often forget that react also works very well without having to rerender stuff each time anything changes in the screen!

    • @Alexchtch
      @Alexchtch 3 місяці тому

      @@upsxace In my opinion we often need some masked inputs, which are not possible with defaultValue approach, as per my understanding.
      Plus just filtering out unnaccepted characters is also crucial.

    • @gcash49
      @gcash49 3 місяці тому +1

      i think that already been fixed in new update

    • @999satyam
      @999satyam 3 місяці тому

      @@upsxace got it~ thanks!

  • @matthartstonge
    @matthartstonge 3 місяці тому +1

    Very cool breakdown. Great blog post 👌 they’ve done well!!

  • @vinimaciel
    @vinimaciel 3 місяці тому +9

    the useLayoutEffect was so helpful, thanks

  • @yewo.m
    @yewo.m 3 місяці тому +10

    I love how the React/React-Native teams are not afraid to make revolutionary changes to their platforms. Like with hooks in the past, and the various other changes

    • @k4rnaj1k
      @k4rnaj1k 3 місяці тому +2

      But it is kinda weird to see them doing it without bumping the major version

    • @SERWERWARMINEPL
      @SERWERWARMINEPL 3 місяці тому

      they know people will love it

  • @maximierung
    @maximierung 3 місяці тому +6

    A new Theo video posted 1min ago? Let‘s go! 🎉

  • @JulesPatryLawl
    @JulesPatryLawl 3 місяці тому +6

    So pumped about this. I would have never knew about this react native update thanks @theo

  • @nordern1
    @nordern1 3 місяці тому +21

    I'm really interested in using it for desktop, I don't really see it as an option without Linux support :/

    • @milossavkovic1970
      @milossavkovic1970 3 місяці тому

      Have you considered using Tauri?

    • @nordern1
      @nordern1 3 місяці тому +3

      @@milossavkovic1970 Yes, but that still carries the full memory requirement of a browser. So I'd like to compare how much memory RN needs. As far as I understand, they have their own js runtime with AOT optimization

  • @phoenix2558
    @phoenix2558 3 місяці тому

    Great vid on RN changes. Thanks Theo

  • @ynnkh2116
    @ynnkh2116 3 місяці тому +5

    For people in the comments, do you have example of what you built so far in react native? Like production grade apps? I want to try them for a before after

  • @petecapecod
    @petecapecod 3 місяці тому

    They took down the bridge, that's HUGE. Must have taken soooo much work 💯

  • @SirTZN
    @SirTZN 3 місяці тому +56

    I like how theo disses flutter because react native is finally adopting a feature that flutter had for years. Don't get me wrong, this is fantastic news, but it's hard to take this video seriously when its implementing fixes that flutter never experienced from the start (like the native bridge, Flutter has had platform channels for years). So much of this update is just is implementing fixes that should never have to be implemented, such as the slider demo where the number of rendered cubes were synced with the slider value. That wouldn't happen in flutter because you aren't waiting for the JS VM, but instead dart which would be compiled natively.
    Of course, I'm happy to see it improving, snd and I hope it can continue to do so.

    • @BrunoOliveira-lm6wl
      @BrunoOliveira-lm6wl 3 місяці тому +2

      I prefer RN than Flutter since we can use React, JS and the platform's native UI

    • @LRAnimations
      @LRAnimations 3 місяці тому +8

      Yeah I am starting to get annoyed by the constant flutter bashing. It feels so awkward. There really is no need for this, I think we should all be a little more respectful to each other

    • @SirTZN
      @SirTZN 3 місяці тому +7

      @@LRAnimations I don't even mind the criticism, but the issue is that what Theo mentions is just wrong. It's not valid criticism. There are valid critics of flutter, but Theo just likes react native to a point where he instantly rejects flutter.

    • @KyleisJew
      @KyleisJew 3 місяці тому

      Before the switch to react hooks, old react had these features I believe. You'd bind to functions onComponentWillMount and onComponentMounted. Strange they haven't added it until now

    • @bryanmylee
      @bryanmylee 3 місяці тому +2

      What the React Native team did isn't just "a feature that Flutter had for years". Flutter cheats a lot by rendering everything in Dart, while RN managed to optimize a system that allows for JS to run alongside and control native views.
      Flutter has always been terrible UX, with broken accessibility, broken native compatibility, inconsistencies with other native applications, and more. You can always tell when an iOS app is built in Flutter by just scrolling the view, since the Flutter engine still struggles with basic user interactions like that. React Native has never had that issue.

  • @peroconino
    @peroconino 3 місяці тому +8

    Hopefully React Native will return to be a good choice again

    • @hishnash
      @hishnash 3 місяці тому +3

      I think that is unlikely, the aim of building a cross platform abstraction layer tends to always lead to building apps that are lowest common denominator across all patlforms.

    • @2BluntsLater
      @2BluntsLater 3 місяці тому

      ⁠@@hishnashUA-cam Creator* on Flutter is lowest common denominator?

  • @dealloc
    @dealloc 3 місяці тому +8

    10:20 Just to clarify something; the reported bug was NOT related to the architecture. It was _equally_ as bad with New Architecture.
    The issue is in how iOS autocorrect and predictive text works since the past couple of releases, and also the fact that hardware keyboard input made it more visible due to the ability to type faster than humanly possible on a touch keyboard-nevertheless he bug was present.
    Another related bug that occurs (and still hasn't been fixed) is when using a controlled input, every input change will result in the "Auto complete Password bar" above the keyboard to flicker, when enabling password input mode. The only work around is to use an uncontrolled input and refs. But you'll still see a flicker when focusing different inputs, e.g. for username/password fields. This issue is also present in SwiftUI and UIKit.

    • @charlesayomike
      @charlesayomike 3 місяці тому

      I have always noticed this and wonder what I did wrong. It didn’t even occur to me it was a bug on iOS

  • @sierragutenberg
    @sierragutenberg 3 місяці тому +132

    Facebook doing something good? 🧐

    • @sierragutenberg
      @sierragutenberg 3 місяці тому +15

      Or should I say Meta?

    • @edwardallenthree
      @edwardallenthree 3 місяці тому +28

      This isn't surprising. Meta has been a huge player and open source software for decades, and their contributions are high quality. The only reason people hate react is it's ubiquitousness.

    • @null_spacex
      @null_spacex 3 місяці тому +10

      They’ve done a lot of good things

    • @rawallon
      @rawallon 3 місяці тому +17

      bruv theyve been more open with their ai than open ai

    • @anhtudo4713
      @anhtudo4713 3 місяці тому +7

      please go lookup their open sources bruh…

  • @moosegoose1282
    @moosegoose1282 3 місяці тому +2

    debating to upgrade, or start a new project and migrate code

  • @carpye
    @carpye 3 місяці тому +18

    Is it possible that half of my useEffects should be useLayoutEffect? It sounds like it should be used more than regular useEffect.

    • @abdelkd_
      @abdelkd_ 3 місяці тому +4

      If you want to but I think it may delay rendering of the component. So stick with useEffect unless you want something to run too early

    • @upsxace
      @upsxace 3 місяці тому +7

      useLayoutEffect is blocking, while useEffect is nonblocking. Therefore useEffect is faster, and you may quickly notice the difference in performance if you got a bunch of them in the same component, doing decently complex operations

    • @carpye
      @carpye 3 місяці тому +4

      @@upsxace thanks for the answer

    • @carpye
      @carpye 3 місяці тому

      @@abdelkd_ thanks!

    • @dealloc
      @dealloc 3 місяці тому +2

      It's used for layout or before content is rendered to the browser (e.g. before the VDOM is committed to DOM in react-dom). Use if for measuring layout, or update content outside React itself. Most cases you'll be using React, but in rare cases you may need to either do some work on elements in DOM (e.g. outside your React app, or third-party libraries), while keeping the component in sync.

  • @LotfiORouis
    @LotfiORouis 16 днів тому

    Thanks Theo! Question: those using EXPO will also notice performance difference with this no-bridge-version?

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 3 місяці тому

    this is an awesome upgrade

  • @roudikk
    @roudikk 3 місяці тому +31

    Isn't it this guy who was so arrogant about how react native was better than flutter and native development in some video a while back? And now he's going through all the garbage that people has to put up with in React Native that pretty much meant the entire arch was shit? People complain when there is something to complain about. I never had a good experience with react native and I kept coming back to try it out at least once a year for many many years, even this year and it's always very disappointing.
    Good job on the react native team on such a great improvement, I'll be giving this a go to see if I enjoy it.
    But big L on how this guy delivers tech news and seem to have a cult follower vibe towards react ngl

    • @charlesayomike
      @charlesayomike 3 місяці тому +3

      If you are having issues with react native and you keep trying to use it every year, maybe the problem is you

    • @roudikk
      @roudikk 3 місяці тому +1

      @@charlesayomike it just never fits my personal needs? Ofc the problem is me, it doesn't do what I want it to do. Works for others, just not for me, Genius. But unlike theo I don't go around recommending it like a cult follower when it's just not for everyone and saying things like "don't use flutter, don't use native, use react native" so aggressively

    • @chakritlikitkhajorn8730
      @chakritlikitkhajorn8730 3 місяці тому +1

      He dished on React Native before. I don’t think he ever said React Native is good, but in his opinion it is just better than Flutter.

  • @cortinico
    @cortinico 3 місяці тому +26

    No one asking about 1.0 yet? 👀

    • @cetfu
      @cetfu 3 місяці тому +3

      When it will come 🥹🥹
      With static hermes?

    • @mukhlimkurowo
      @mukhlimkurowo 3 місяці тому +1

      until judgement day

    • @Juke172
      @Juke172 3 місяці тому

      It's just a number at this point. RN has been used in production to so many apps already.

    • @umardev500
      @umardev500 Місяць тому

      RN use 0ver not semver

  • @nhhd99
    @nhhd99 2 місяці тому

    Please make a video of tRPC + React Native + expo 🥺🥺 I loved the vid where you showed BlueSky and how they only have one code for all platforms. Combining with tRPC this would be a KILLER stack!!!

  • @Artoooooor
    @Artoooooor 3 місяці тому

    Good for them. Time to finally try that react native... I am always late adopter...

  • @daniellasilverman7554
    @daniellasilverman7554 3 місяці тому +32

    This is all fun and games, but I still can't figure out how to develop in RN without Shadcn or Headless UI 😭

    • @bar-e-tom
      @bar-e-tom 3 місяці тому +5

      It’s really tough once you get used to it

    • @kasper369
      @kasper369 3 місяці тому +6

      Why tf u want to build with out shadcn

    • @YE55INE
      @YE55INE 3 місяці тому +2

      on god the biggest problem is finding a decent UI library now for RN, i'm using gluestack v1 and it works really great but lacks a lot of stuff

    • @aneesmanzoor7340
      @aneesmanzoor7340 3 місяці тому

      Bro it’s also coming from expo called ‘use dom’ search it on google

    • @diosupremo4928
      @diosupremo4928 3 місяці тому +13

      I used react native paper, is the best ui library i found for RN, you can customize it on top but by itself is already enough in most cases

  • @eminence_
    @eminence_ 3 місяці тому +19

    Tested it on a very large RN project and the bugs and glitches are extremely annoying. It just randomly doesn't render a component or two?? Didn't experience any noticeable perf gains either. It's still very experimental and would not recommend swapping to the new arch.

    • @Volodymyr-y1c
      @Volodymyr-y1c 2 місяці тому

      In their official docs they mentioned that it requires additional steps than just swapping to the new arch, otherwise you might not notice any significant improvements.

    • @hakimelmansouri3166
      @hakimelmansouri3166 Місяць тому

      New architecture even if it's default, it has a lot of problems, memory leaks, random crashes, keyboard avoiding view bugs and long list
      i'd suggest it not to be used in production apps yet

  • @geektechtips
    @geektechtips 3 місяці тому +1

    With expo, there's an easy way to write or add native modules and even change ios/android infos without even having the ios/android folder to maintain!
    I don't event commit these 2 folders .
    I do it, it is awesome and freaking easier to maintain!
    I let you learn how to do it. ;)

  • @becauserocks.5784
    @becauserocks.5784 3 місяці тому +4

    I love React for web apps, and for mobile, I use Swift and Java. It is nice that finally, React Native got better, but it is still not as good as native tools. Buuttt, why wait for these hybrid tools to get better. Why not just learn the native tools? Swift and Java dev are not more complicated than React Native dev.

    • @HoussamElbadissi
      @HoussamElbadissi 3 місяці тому

      For Android I'd definitely recommend you take a look at Kotlin. Java is slowly getting left behind in the ecosystem.
      As for your argument, I do agree that learning native is great and all, but everyone using these cross-platform technologies are businesses or people with limited time, money and resources, who'd rather optimize for shipping to market faster than keep repeating a bunch of work across platforms. And to make matters worse, it's even harder if you include desktop, web, etc...

    • @dimusss
      @dimusss 2 місяці тому

      I think because it's hard to maintain same app for different platforms - you have to white at least two apps instead of one

  • @bar-e-tom
    @bar-e-tom 3 місяці тому +34

    Now I might want to consider choosing RN over Flutter

    • @KarlOlofsson
      @KarlOlofsson 3 місяці тому +26

      React Native with Expo is a pretty sweet workflow

    • @bar-e-tom
      @bar-e-tom 3 місяці тому +8

      @@KarlOlofsson Yup, I like Flutter but I have to say, Expo makes life so much easier.

    • @KarlOlofsson
      @KarlOlofsson 3 місяці тому +5

      @@bar-e-tom it's kind of funny that Expo is needed at all though. Components or cli or cloud services. But man they automated a lot of config and admin.

    • @bar-e-tom
      @bar-e-tom 3 місяці тому

      @@KarlOlofsson exactly, at first my opinion was “see? RN is so shitty it needs Expo to be a good framework”. Now my option is simply “damn Expo is so f*ing good.”.

    • @rohithkumarbandari
      @rohithkumarbandari 3 місяці тому

      ​@@KarlOlofssonit's fked up. Expo literally doesn't allow you to use many needed packages.

  • @eternal8lueforever
    @eternal8lueforever 3 місяці тому +1

    +1 for convex

  • @tasheemhargrove9650
    @tasheemhargrove9650 3 місяці тому

    25:35 This is coming in CSS for display none. I don’t know if Theo specifically meant animations or included transitions in that: ua-cam.com/video/vmDEHAzj2XE/v-deo.htmlsi=Hr7BvDfWjXn2PQ12

  • @SuperRockcore
    @SuperRockcore 3 місяці тому

    Hey - beginner and hobbyist here. I’ve been learning react and framer motion. I see you recommend React Animate for Native. I wonder if I should start learning animate if I want to do the same kind of things I’ve been doing with framer motion. It’s been a few. months since I’ve put my head down, but some guidance might help when I get back to it. Thanks!

  • @rohitpai3087
    @rohitpai3087 3 місяці тому

    Great video

  • @harpreetsingh-m1p8b
    @harpreetsingh-m1p8b 9 днів тому

    i want to build an app in react native with init. which version is stable to go for?

  •  Місяць тому

    I wonder if there is no JS bridge anymore, could we write animation in JS instead of using some library?

  • @ayoubdev8019
    @ayoubdev8019 3 місяці тому +1

    The only thing i hate about "Mostage devs" is talking or using sponsors they dont even use in their own projects, DAMN

  • @AlmightyPyro
    @AlmightyPyro 3 місяці тому +1

    8:30 you've never had to move a 7 year old RN app have you

  • @cotneit
    @cotneit 3 місяці тому

    Damn, might have to learn React now

  • @DroidZed
    @DroidZed 3 місяці тому

    React now truly puts the Native in the React Native

  • @sjf29
    @sjf29 3 місяці тому +16

    Still slower than Flutter?

    • @mitesh7998
      @mitesh7998 3 місяці тому +12

      Yes it feels like, flutter rendering 3D models and games more than 60FPS so yes RN is still slower. I don't think Java script is ever reach that in the mobile platform

    • @seaklengsay2595
      @seaklengsay2595 3 місяці тому +2

      flutter already compile to asembly no need to compare.

    • @jomoc6112
      @jomoc6112 3 місяці тому

      @@seaklengsay2595 not really if you try it right now. flutter is now slower. whats the point of assembly flutter is still not using native apps just running native-like performance.
      you must build the app first in react to see real native.

    • @lessko9
      @lessko9 2 місяці тому

      ​@@mitesh7998 static hermes comming soon

    • @lessko9
      @lessko9 2 місяці тому

      ​@@seaklengsay2595*dart, not flutter

  • @larsthomasdenstad9082
    @larsthomasdenstad9082 3 місяці тому

    Hey, theo and friends in the comment field. I don't much care about react native, but convex looks interesting. It is open source and I got it to build from source in 15 minutes. Looks cool.

  • @makisetakashi
    @makisetakashi 3 місяці тому

    migration or upgrade is fast or painful ?

  • @absaar.6628
    @absaar.6628 2 місяці тому

    but wasnt useLayoutEffect already there in reactnative before this update?

  • @QuantuMGriD
    @QuantuMGriD 3 місяці тому

    What is that font? Searched for it but didn't get it. A similar font is DM mono.

  • @moodyhamoudi
    @moodyhamoudi 3 місяці тому

    Does this mean that upgrading your RN version in the future won't be hell? Are we stabilizing (please)?

  • @shadowpenguin3482
    @shadowpenguin3482 3 місяці тому

    17:49 or you can write in in dart or Kotlin multiplatform, it’s not like c++ is the only way to do multiplatform native libraries

  • @BioxyTube
    @BioxyTube 2 місяці тому

    what if I am using expo native ? Can I get the new architecture and use expo ?

  • @bideshbanerjee5506
    @bideshbanerjee5506 3 місяці тому

    Theo once in a video you were telling that java is not a good solution for Android can you elaborate in any other video in future

  • @vipero07
    @vipero07 3 місяці тому

    Svelte has entering and exiting...

  • @Eli7PM
    @Eli7PM 3 місяці тому

    Which React.js pattern would you recommend to address the typing text bug? I’m having this issue on Web specifically. Thanks in advance.

    • @NighttimeJuneau
      @NighttimeJuneau 3 місяці тому

      I thought that bug wasn’t possible on regular React because everything is already handled synchronously, so you can’t actually type in the field until the event logic has run, you’re never actually typing directly into the text field in the first place. Are you sure this isn’t due to some other problem, like some effect logic manipulating your input’s value?

  • @CanRau
    @CanRau 2 місяці тому

    Do you use RN directly or Expo?

  • @robchr
    @robchr 3 місяці тому

    A lot of phones have 90-120hz. Can it hit that reliably?

  • @ganeshram580
    @ganeshram580 Місяць тому

    I’m waiting React to drop virtual DOM and be faster than others

  • @jo1332
    @jo1332 3 місяці тому +1

    Doesn't kotlin multiplatform do the same thing?🤔

  • @ronaldhunter5894
    @ronaldhunter5894 3 місяці тому +2

    I can stop getting shoved in lockers by the "Real mobile developers"

  • @spicynoodle7419
    @spicynoodle7419 3 місяці тому

    But are controlled inputs acting correctly

  • @vuc__vuc
    @vuc__vuc 3 місяці тому +5

    but they fixed the controlled input issues?

    • @yashjadhav6838
      @yashjadhav6838 3 місяці тому +2

      Yes it is fixed as bridge is removed

  • @Ryujin_001
    @Ryujin_001 3 місяці тому

    Does anyone knows which vs code theme he is using ?

  • @shreyasvaidya9552
    @shreyasvaidya9552 3 місяці тому

    We got Turbopack before GTA 6

  • @jattdavlog4110
    @jattdavlog4110 3 місяці тому

    As fresher what should learn flutter or react native

  • @Asingh42
    @Asingh42 3 місяці тому

    I am on expo 51 sdk can anybody help me with it can I upgrade to this react native version?

  • @AngelGMaxwell
    @AngelGMaxwell 3 місяці тому +23

    Sooo... you guys were having all these problems and laughing at flutter at the same time?🧐
    Also, good to know about this jump in performance, I think I will play with some React Native this week and see how I feel

    • @valkyrieqp
      @valkyrieqp 3 місяці тому +14

      flutter is dead lmao

    • @Dipankarr_
      @Dipankarr_ 3 місяці тому

      ​@@valkyrieqp if Flutter is dead then RN is dead 10x... You REACT Kids just hype RN on Social Media

    • @timbosplice8437
      @timbosplice8437 3 місяці тому +4

      @@valkyrieqpdoesn’t matter, better framework

    • @RaZziaN1
      @RaZziaN1 3 місяці тому +4

      React native looks good on paper, but you will have tons of problems with expo and even when not using expo tons of undocumented problems, it looks really good until problem appears then you will need to do some weird workarounds and most of them are random;/ React is 100x better than react native , only name is similiar. Also you need to learn java/kotlin for react native at some point.

    • @lessko9
      @lessko9 3 місяці тому +8

      Flutter is a glorified canvas, no matter how much you will fake it, it will still remain a canvas. It's syntax philosophy of everything being a component INCLUDING MODIFIERS is just as bad

  • @orterves
    @orterves 3 місяці тому

    This might actually justify my hope to rewrite the cluster fuck of an RN codebase the contractors dropped on our laps

  • @robchr
    @robchr 3 місяці тому

    I'm sticking with KMP/CMP.

  • @KennuByte
    @KennuByte 3 місяці тому +6

    no way.. no spam??? holy shit

  • @ophir1982
    @ophir1982 3 місяці тому

    Does Expo support this?

    • @fax1ty
      @fax1ty 3 місяці тому +1

      As beta, for now

  • @AlesaGillespie
    @AlesaGillespie 3 місяці тому

    can we get server components

    • @lessko9
      @lessko9 3 місяці тому

      Expo 52 comming soon

  • @chetanxpatil
    @chetanxpatil 3 місяці тому +3

    looking native using renderer is different than being native and using native components

  • @nathancovey
    @nathancovey 3 місяці тому +11

    Does this bury Flutter?

    • @t3dotgg
      @t3dotgg  3 місяці тому +42

      It's hard to bury that which lives underground

    • @iatomic_1
      @iatomic_1 3 місяці тому +1

      @@t3dotgg Damnnnn 😂

    • @AngelGMaxwell
      @AngelGMaxwell 3 місяці тому

      😭

    • @bar-e-tom
      @bar-e-tom 3 місяці тому

      @@t3dotggTheo, the largest bank in LATAM, Nubank, is built with Flutter, and I have to say theirs is the absolute best banking app available here in Brazil, Nubank is also know for using Clojure. And just as it is the case of Clojure, Flutter might not be the go to option, but it certainly is an option.
      I myself had the power to choose between RN or Flutter for a fintech company called FitBank when they were going to build their new mobile app, and by far, very far, the best option was Flutter.

    • @nathancovey
      @nathancovey 3 місяці тому +1

      @@t3dotgg 💀

  • @NicolasSilvaVasault
    @NicolasSilvaVasault 3 місяці тому

    i'm still waiting for signal and a proper skia graphics engine that's actually easy to use

    • @vvvvvvvvvwv
      @vvvvvvvvvwv 3 місяці тому

      If you want fine grained reactivity, take a look at legend state. Otherwise, you’re not going to get signal in React, since they’re going a different route with their compiler.

  • @abdellatif.L
    @abdellatif.L 3 місяці тому

    D mentioned 🗣🗣🗣

  • @MrJeszam
    @MrJeszam 3 місяці тому +3

    Theo really loves React almost frightening.

  • @mik3lang3lo
    @mik3lang3lo 3 місяці тому

    I would still stick with Expo for now

  • @edzynda
    @edzynda 3 місяці тому +1

    What if you hate React? :(

  • @djasnive
    @djasnive 3 місяці тому

    What about the actual React Native vs Flutter ?

    • @rahmitufanoglu5380
      @rahmitufanoglu5380 3 місяці тому +4

      Flutter for sure. React Native is still React Native and shit to be honest.

    • @gcash49
      @gcash49 3 місяці тому +1

      they both can do fine, but if you care about job market or higher paying jobs you’d go for react native

    • @rahmitufanoglu5380
      @rahmitufanoglu5380 3 місяці тому

      @@gcash49 Not the case anymore. Especially in Germany

  • @na-gi1xb
    @na-gi1xb 3 місяці тому

    so now it has better performance than flutter??

    • @azufendusgarendum6583
      @azufendusgarendum6583 3 місяці тому

      Possible but unlikely. Flutter/Dart compile to a native binary while React Native still has a Javascript runtime (bytecode in Hermes, but still a full blown Javascript runtime) to deal with

  • @seaklengsay2595
    @seaklengsay2595 3 місяці тому

    anyone have a project with react native more than 3 year? I can say that it is nightware ecosystem ever.

  • @himankshu
    @himankshu 3 місяці тому

    but why should one stop using firebase??

    • @GeorgeDicu-hs5yp
      @GeorgeDicu-hs5yp 3 місяці тому

      because if you saw other videos from Theo, he is not a fan, but I think it's a skill issue, as Prime likes to say. Flutter is well integrated with all GCP, its hard for tools like appwrite or convex to catch up.

    • @GeorgeDicu-hs5yp
      @GeorgeDicu-hs5yp 3 місяці тому +1

      I dont need to pay 300 per month for appwrite to have a free tier of 1mil function calls, or 50k read per day.

    • @himankshu
      @himankshu 3 місяці тому

      @@GeorgeDicu-hs5yp thats very true. i find firebase easy to use

  • @StCost
    @StCost 3 місяці тому

    thanks

  • @ArquimedesCrivelari
    @ArquimedesCrivelari Місяць тому

    550% faster... Good! Very good! But...numeric, currency or masked third party input controls are broken. When RN is going to have native numeric, currency, date, datetime or masked input controls?

  • @PapaVikingCodes
    @PapaVikingCodes 3 місяці тому

    I'm bumping my minor version noooooow

  • @Dik131WZD
    @Dik131WZD 3 місяці тому

    I still don't understand how it works without Bridge and they don't explain it. Do we have now a lot of small specific bridges instead of big one?

  • @HoussamElbadissi
    @HoussamElbadissi 3 місяці тому

    I use Compose Multiplatform, neither Flutter nor React Native :D
    Though all of them are pretty awesome technologies. While all of these tackle the same problem, each has got its own unique points (for good and for bad!).
    Regarding entry/exit animations (at 25:15), every UI framework deals with them in exactly the same way (the actual item isn't fully removed until the exit transition is done), and that's for good reason. Imagine a video player animating out; you really don't want to take a "snapshot" to use in the animation, you want the video to keep playing normally until the end of the exit animation, otherwise it'll look very odd. So yeah, you wanna keep the component running until its very last moment, so things look natural. Besides, such "snapshotting" would ironically be probably harder to implement!
    But like the Reanimated library, all these UI frameworks have abstractions that do this for you (in Compose it's `AnimatedVisibility`, also takes `enter` and `exit` parameters, and a boolean).

    • @utubes720
      @utubes720 3 місяці тому

      Does your KMP/CMP app target IOS? I thought IOS support was alpha stage?

    • @HoussamElbadissi
      @HoussamElbadissi 3 місяці тому

      @@utubes720 yeah. it's currently in beta btw.
      Even in alpha a couple companies have adopted it very early and shipped it to production (BumbleBee was an example, they made their existing Android codebase work on iOS with a little effort, even before Compose iOS was alpha!).

    • @HoussamElbadissi
      @HoussamElbadissi 3 місяці тому

      Obviously things have improved a lot in recent months, with Compose/iOS becoming beta (it's so close to a stable release), Compose/Web being promoted to alpha, Kotlin 2.0, and a large expansion in the Kotlin Multiplatform ecosystem, with awesome libraries covering most things you'll ever need (particularly for Android/Desktop/iOS, web is catching up tho).

  • @kamgdy89
    @kamgdy89 3 місяці тому

    Propably google will abandon flutter as always.

  • @hishnash
    @hishnash 3 місяці тому +1

    To be honest if you want good ux it tends to be less work to just creat a native app for each platform as the ux on each platform is expected to be substantially different

  • @2or3godzillaz
    @2or3godzillaz Місяць тому

    what does 550% faster mean? If it were 100% faster, then it would be instantaneous. Do you mean it used to be 550% slower?

  • @Dipankarr_
    @Dipankarr_ 3 місяці тому +9

    React kids yappping again.. every month they get a news of RN becoming 69% faster 😂

  • @ziat1988
    @ziat1988 3 місяці тому

    React native new architect

  • @andrewzuo86
    @andrewzuo86 3 місяці тому

    Glad to see React Native can finally achieve 60 FPS. Competition is always nice.

  • @Zagoorland
    @Zagoorland 3 місяці тому

    Ok this video is too long so tell me, are controlled inputs finally fixed?

    • @dannyisrael
      @dannyisrael 3 місяці тому +2

      Apparently yes is what I’m gathering from the comments.

    • @hoango6382
      @hoango6382 2 місяці тому

      no

  • @dannyisrael
    @dannyisrael 3 місяці тому

    🎉🎉🎉

  • @gauthamvijay
    @gauthamvijay 3 місяці тому +3

    React Native to the moon🚀.

  • @pxkqd
    @pxkqd 3 місяці тому

    Maybe whenever they reach 1.0 they'll also fix the absolute shite that is upgrading it. I've been using it for years and can't recommend it at all yet.

  • @RahulML25
    @RahulML25 2 місяці тому

    Why the Fuck youtube is too buggy theses days😑

  • @human-011
    @human-011 Місяць тому +1

    Vanilla JS laughing in corner 🤣🤣