正在加载视频...

视频加载失败

Galeria 1 is now available – an image viewer for React (+ Native) → New Architecture Support → Stable web support → Bring-your-own-image component Automatic support for: solito/image, next/image, expo-image, react-native-fast-image, web <img />

27,366 次观看 • 1 年前 •via X (Twitter)

11 条评论

Fernando Rojo 的头像
Fernando Rojo1 年前

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

Fernando Rojo 的头像
Fernando Rojo1 年前

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.

Christian Esmann 的头像
Christian Esmann2 年前

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.

Henry Paulino 的头像
Henry Paulino1 年前

I’ve been waiting for this!

Ansh Nanda 的头像
Ansh Nanda1 年前

Been looking for something like this for a while!

Levi Williams 的头像
Levi Williams1 年前

Beautiful. Might be worth noting in the docs that it doesn’t support bare rn

Romaen 的头像
Romaen1 年前

Another banger 🙏

Michal 的头像
Michal1 年前

cant wait to try

ℤ 的头像
1 年前

This looks great

nnft 的头像
nnft1 年前

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

Fernando Rojo 的头像
Fernando Rojo1 年前

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:

相关视频