Galeria 1 is now available – an image viewer for React (+ Native)
@fernandorojo1.9万 位关注者
27,366 次观看
11 条评论
评论来自 X (Twitter) 上的原帖

@FernandoTheRojo
Thanks to @hirbod_dev + @nishanbende for adding support for the new architecture. Look at how clean this API is...release notes →
26 个赞

@FernandoTheRojo
Under the hood, Galeria is web-first. If you are making a plain React website, you can use it just like any other library. On iOS and Android, it uses Swift/Kotlin respectively to wrap native image viewers. If you're a library author targeting React Native, consider making your central .tsx file web-first. Even better - remove react-native-web as a dependency to simplify installation.
8 个赞

@chrisesmann
I just launched an all-in-one template for cross-platform development, based on the stack I use myself everyday. Expo, NextJS, TypeScript, Tailwind, Firebase, AppsFlyer, Authentication, Analytics, In-App Purchases, Stripe and a lot more, setup by default.
3,991 个赞

@henrypl_dev
I’ve been waiting for this!
2 个赞

@anshnanda_
Been looking for something like this for a while!
1 个赞

@_lazerlen
Beautiful. Might be worth noting in the docs that it doesn’t support bare rn
1 个赞

@CodeWithRomaen
Another banger 🙏
1 个赞

@eruveo
cant wait to try
1 个赞

@technically_zac
This looks great
1 个赞

@nnft17
Web looks a bit glitchy in the video. Especially on the zoom back to grid transition.

@FernandoTheRojo
The z-index weirdness on Web here was due to using FlashList’s masonry columns, which adds wrapper views to the items. Here it is fixed by using a plain ScrollView: