Navigation überspringen
Galeria 1 is now available – an image viewer for React (+ Native)
0:00 / 0:41

Galeria 1 is now available – an image viewer for React (+ Native)

Fernando Rojo

@fernandorojo19.470 Follower

Auf X besuchen

27.366 Aufrufe

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 />

11 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Fernando Rojo

    @FernandoTheRojo

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

    26 Likes

  • Profilbild von Fernando Rojo

    @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 Likes

  • Profilbild von Christian Esmann

    @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 Likes

  • Profilbild von Henry Paulino

    @henrypl_dev

    I’ve been waiting for this!

    2 Likes

  • Profilbild von Ansh Nanda

    @anshnanda_

    Been looking for something like this for a while!

    1 Like

  • Profilbild von Levi Williams

    @_lazerlen

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

    1 Like

  • Profilbild von Romaen

    @CodeWithRomaen

    Another banger 🙏

    1 Like

  • Profilbild von Michal

    @eruveo

    cant wait to try

    1 Like

  • Profilbild von ℤ

    @technically_zac

    This looks great

    1 Like

  • Profilbild von nnft

    @nnft17

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

  • Profilbild von Fernando Rojo

    @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: