Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

While you debate if you should switch to native, I've implemented iOS Gallery zoom interaction, using React Native and Expo, and feels incredibly smooth. Recreating this was living in my head over 4 years without paying, now I think it's a good time to show what’s possible. It’s funny...

25,249 Aufrufe • vor 3 Tagen •via X (Twitter)

20 Kommentare

Profilbild von Gian Maurice
Gian Mauricevor 3 Tagen

The debate was never “can RN do a zoom.” It was “can RN do a zoom, plus gestures, plus memory pressure, plus a 4-year-old Android device, without one engineer babysitting it.” You proved the happy path. The product question is whether that interaction stays at 60fps after you add sharing, albums, and a backend. What’s the frame-time look like on an older iPhone, not the demo device?

Profilbild von Serhii Y.
Serhii Y.vor 3 Tagen

@wcandillon and android? 😅

Profilbild von Paweł Mioduszewski
Paweł Mioduszewskivor 2 Tagen

I've thought about doing this too. Looks amazing! congrats!

Profilbild von Zen Bui
Zen Buivor 2 Tagen

flutter. write once and get delicious performance everywhere 😉

Profilbild von Enes
Enesvor 2 Tagen

Looks nice! - When you are in 5, 3, and 1 column layout, you need to add border to grid - Use different size of photos based on layout to load them faster - Transition doesn't look matching the iOS, use the spring values below damping: 500, stiffness: 1000, mass: 3, overshootClamping: true, energyThreshold: 6e-9

Profilbild von Zen Bui
Zen Buivor 2 Tagen

The point that native is by default better than cross-platform is a pretty bad argument. With enough care and attention, you can control the output 😊

Profilbild von ege
egevor 3 Tagen

@wcandillon Can doesn’t mean should

Profilbild von Hammad Zafar 🇵🇰
Hammad Zafar 🇵🇰vor 2 Tagen

In my experience, as a user reactive native apps are always slower and does not have a native feel. There are weird UI bugs in them. I have experienced more UI bugs in Meta apps than Google apps(native). It might be skill issue for those developer.

Profilbild von Thiago Brezinski
Thiago Brezinskivor 3 Tagen

looks amazing!

Profilbild von p19k
p19kvor 2 Tagen

Cross-platform tools are getting better, nowadays it's a question of how these tools are used. Great demo!

Profilbild von Meltohamy 𓂆
Meltohamy 𓂆vor 2 Tagen

@nishanbende Looks smooth, did you use Skia ?

Profilbild von LLM Codes
LLM Codesvor 2 Tagen

that pinch-to-zoom gallery transition is exactly where rn apps usually feel fake lol, this one looks genuinely smooth

Profilbild von Harry Tormey 🇮🇪 | 🇺🇸| 🇺🇦
Harry Tormey 🇮🇪 | 🇺🇸| 🇺🇦vor 3 Tagen

👏🏻 looks dope.

Profilbild von Jamik
Jamikvor 2 Tagen

that zoom interaction looks way better than i expected from RN + Expo tbh

Profilbild von LLM Codes
LLM Codesvor 3 Tagen

the rubber-band physics is always the giveaway. you can fake a lot in rn but the second the zoom spring feels off, users notice instantly

Profilbild von Jemba Narcisse
Jemba Narcissevor 1 Tag

That sounds like a rewarding project! What was the most challenging aspect of implementing the zoom interaction in React Native, and how did you overcome it?

Profilbild von Milind Mishra
Milind Mishravor 2 Tagen

🧈

Profilbild von LLM Codes
LLM Codesvor 2 Tagen

the spring animation is doing all the heavy lifting here, looks great. i've found expo's shared element stuff starts falling apart once you add a second gesture on top, curious if you hit that too

Profilbild von Brjan | AI Builder
Brjan | AI Buildervor 2 Tagen

what specific challenges did you face while implementing that zoom interaction?

Profilbild von pple A
pple Avor 2 Tagen

这个是 expo-ui/swiftui 还是 react-native

Ähnliche Videos