Navigation überspringen
For our new product, we built a chat in React Native that feels like iMessage
0:00 / 0:25

For our new product, we built a chat in React Native that feels like iMessage

Baran

@barany6m4539 Follower

Auf X besuchen

111.184 Aufrufe

For our new product, we built a chat in React Native that feels like iMessage Here's how we did it: ① Fabric Swift View ② UICollectionView ③ SwiftUI cells via UIHostingConfiguration React is responsible for the state - mutations, fetching, infinite loading - all via React Query. The native Fabric view is purely for rendering. React decides what to show, native decides how to show it The bridge between three frameworks was tricky but worth it. UICollectionView animations come for free and scroll performance is native-smooth No blank spaces and no FPS drops - all powered by the New Architecture Who wants to see the code?

36 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Miguel Piedrafita ✨

    @m1guelpf

    i’m not super familiar with the RN world, but if this is akin to using React for data management but rendering with pure SwiftUI/UIKit I’d be very interested in how you got it working 👀

    23 Likes

  • Profilbild von Baran

    @barany6m

    yes!

    9 Likes

  • Profilbild von Miguel Piedrafita ✨

    @m1guelpf

    ooo veeeeery interested, been looking at state management solutions for SwiftUI and the ergonomics SUCK

    8 Likes

  • Profilbild von Baran

    @barany6m

    uncompressed:

    16 Likes

  • Profilbild von Umair Ahmed

    @umair170

    Question should be who doesn't wanna see the code? 👀

    11 Likes

  • Profilbild von matty

    @mwdwrd

    got claude on the case.. a simple starter:

    8 Likes

  • Profilbild von Nodus Labs

    @noduslabs

    Anyone received the code or it was just a bait to get views and comments?

    5 Likes

  • Profilbild von Yash

    @averagelift3r

    really want to see the code

    5 Likes

  • Profilbild von Vayo

    @vayospot

    sadly, android left the chat

    4 Likes

  • Profilbild von Chintan Turakhia

    @chintanturakhia

    Epic. Would love to see the code

    3 Likes

  • Profilbild von Serg

    @serglotz

    Can you rebuild telegram ios client in swift? That’s the real challenge!

    3 Likes

  • Profilbild von Sam

    @_sammobach

    Nice, can you share the code :)

    3 Likes

  • Profilbild von Harry Tormey 🇮🇪 | 🇺🇸| 🇺🇦

    @htormey

    Nice. You gonna post any sample code?

    2 Likes

  • Profilbild von nikiv.dev

    @nikivdev

    would love to see the code 🖤

    2 Likes

  • Profilbild von shubham

    @srao9151

    Can you share repo ?

    2 Likes

  • Profilbild von MARCO WENK

    @wenkmarco

    Does the interactive keyboard dismissal work? I’d be impressed !

    2 Likes

  • Profilbild von ian

    @iandavidandrino

    very impressive :O

    2 Likes

  • Profilbild von Fabian Kamberi

    @fabiankamberi

    @JannisRingwald 🔥

    2 Likes

  • Profilbild von Gabriel

    @EngMarketer

    got me real curious there!

    1 Like

  • Profilbild von Alex Ruber

    @alex_ruber

    @parthematics down

    1 Like