npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@curiosity26/react-native-gtk4-reanimated

v0.88.0

Published

Linux (GTK4) native side of react-native-reanimated, for @curiosity26/react-native-gtk4

Downloads

234

Readme

@curiosity26/react-native-gtk4-reanimated

The Linux (GTK4) side of react-native-reanimated 4.7 for @curiosity26/react-native-gtk4: the library's own C++ engine, built from its package in your app's node_modules, and its ReanimatedModule, on react-native-worklets' UI runtime.

npm install react-native-reanimated react-native-worklets \
  @curiosity26/react-native-gtk4-reanimated @curiosity26/react-native-gtk4-worklets

With react-native-worklets/plugin in babel.config.js (see the worklets port).

  • Shared values and animated styles run on the UI runtime, on GTK's main thread: withTiming, withSpring, withDecay, withRepeat, withSequence, withDelay, frame by frame on the main window's GdkFrameClock. Each frame's props are committed to Fabric's shadow tree from the main thread, which mounts them there at once: animations keep running while the JS thread is busy, and React commits keep the animated values (the library's commit hook).
  • Every Fabric event reaches the engine before JS, for useAnimatedScrollHandler and useEvent. measure, scrollTo, useFrameCallback, useAnimatedReaction and useDerivedValue work as on the other platforms.
  • react-native-gesture-handler (its Linux port) drives animations from worklet gesture callbacks, and GestureStateManager in worklets changes gesture states. With Reanimated installed, gesture callbacks that set React state need runOnJS: true, as on iOS and Android.
  • Layout animations: entering and exiting animations (the presets, keyframes, custom ones) and layout transitions, with exiting views kept mounted until they finish. As on the other platforms, a view with an entering animation must not set nativeID (Reanimated finds the animation by its own); put an ID on a child.
  • CSS animations (animationName with keyframes, durations, delays, iteration counts, directions, fill modes, timing functions) and CSS transitions (transitionProperty, ...), with their onCSSAnimation* and onCSSTransition* callbacks, on the engine's own C++ loop.
  • Reduced motion follows GNOME's "Reduce animation" setting (ReduceMotion.System).
  • Not on Linux: sensors (useAnimatedSensor gets no data), keyboard events, :hover/:active pseudo selectors in CSS animations, shared element transitions.

The library's C++ chooses between Android's and Apple's way in places (synchronous prop updates, the mounted props layout animations read); Linux takes Apple's: the build rewrites __APPLE__ in a copy of the sources. Its codegen headers (rnreanimated) are generated at configure time with the app's React Native. See docs/libraries.md.