Gezinmeyi atla
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

@barany6m4,5 B takipçi

X profili
890 beğeniİndirOrijinal gönderi

111.186 görüntüleme

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 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • Miguel Piedrafita ✨ profil fotoğrafı

    @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 beğeni

  • Baran profil fotoğrafı

    @barany6m

    yes!

    9 beğeni

  • Miguel Piedrafita ✨ profil fotoğrafı

    @m1guelpf

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

    8 beğeni

  • Baran profil fotoğrafı

    @barany6m

    uncompressed:

    16 beğeni

  • Umair Ahmed profil fotoğrafı

    @umair170

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

    11 beğeni

  • matty profil fotoğrafı

    @mwdwrd

    got claude on the case.. a simple starter:

    8 beğeni

  • Nodus Labs profil fotoğrafı

    @noduslabs

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

    5 beğeni

  • Yash profil fotoğrafı

    @averagelift3r

    really want to see the code

    5 beğeni

  • Vayo profil fotoğrafı

    @vayospot

    sadly, android left the chat

    4 beğeni

  • Chintan Turakhia profil fotoğrafı

    @chintanturakhia

    Epic. Would love to see the code

    3 beğeni

  • Serg profil fotoğrafı

    @serglotz

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

    3 beğeni

  • Sam profil fotoğrafı

    @_sammobach

    Nice, can you share the code :)

    3 beğeni

  • Harry Tormey 🇮🇪 | 🇺🇸| 🇺🇦 profil fotoğrafı

    @htormey

    Nice. You gonna post any sample code?

    2 beğeni

  • nikiv.dev profil fotoğrafı

    @nikivdev

    would love to see the code 🖤

    2 beğeni

  • shubham profil fotoğrafı

    @srao9151

    Can you share repo ?

    2 beğeni

  • MARCO WENK profil fotoğrafı

    @wenkmarco

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

    2 beğeni

  • ian profil fotoğrafı

    @iandavidandrino

    very impressive :O

    2 beğeni

  • Fabian Kamberi profil fotoğrafı

    @fabiankamberi

    @JannisRingwald 🔥

    2 beğeni

  • Gabriel profil fotoğrafı

    @EngMarketer

    got me real curious there!

    1 beğeni

  • Alex Ruber profil fotoğrafı

    @alex_ruber

    @parthematics down

    1 beğeni