Skip navigation
i'm playing around with React Native new architecture examples using react-native@0.74-rc and…
0:00 / 0:20

i'm playing around with React Native new architecture examples using [email protected] and…

brent

@notbrent17K followers

Visit on X
459 likesDownloadOriginal post

80,876 views

i'm playing around with React Native new architecture examples using [email protected] and [email protected], and it's pretty cool to see automatic batching with native event handlers in action.

11 Comments

Comments from the original post on X (Twitter)

  • brent 🦋's profile picture

    @notbrent

    because updates are batched, there are less intermediate states rendered, the renderer does less work, the app feels better.

    28 likes

  • brent 🦋's profile picture

    @notbrent

    i slowed down the rendering by instantiating 1000 date objects for each square that is rendered to simulate something more expensive. otherwise it's the example from the new arch landing page

    14 likes

  • brent 🦋's profile picture

    @notbrent

    it's important to note that this is not to say that the new architecture will suddenly improve performance in your app for free. learn more about what to expect here

    9 likes

  • brent 🦋's profile picture

    @notbrent

    if you think this looks neat then go test your libraries and libraries you use against the new architecture in 0.74-rc!

    9 likes

  • Hirbod's profile picture

    @hirbod_dev

    @reactnative I can achieve the same with the old arch Thanks to a neat article by @naqvitalha

    7 likes

  • Patrik's profile picture

    @PatrikTheDev

    @tsapeta @reactnative can’t wait for Expo to support bridgeless mode natively, this looks awesome

    4 likes

  • Jamie Birch's profile picture

    @birch_js

    @reactnative This unblocks that slider-driven app I was thinking of

    3 likes

  • kushagra agarwal's profile picture

    @AgarwaKushagra

    @reactnative so cool, thanks for the example

    2 likes

  • Tomasz Krzyżowski's profile picture

    @TMaszko

    @reactnative Is this batching native events is a react native new thing or just react ?

    2 likes

  • Ovidiu Latcu's profile picture

    @ovy9086

    @reactnative Pretty sick, looking forward to autobatching 💯. But looking at our dependency list, I am not sure the community will be able to adopt at scale the new arch this year. A lot of libs still lack the support.

    2 likes

  • brent 🦋's profile picture

    @notbrent

    @reactnative possibly! i could see this list getting up to 80-90% within a couple months. coverage of libraries not listed there depends on folks in the community mobilizing (pun intended) to test and fix libraries

    3 likes