{"repo":"axelra-ag/react-native-animateable-text","free":true,"listed":false,"github":"https://github.com/axelra-ag/react-native-animateable-text","clone":"git clone https://github.com/axelra-ag/react-native-animateable-text.git","description":"🆎 A fork of React Native's <Text/> component that supports Reanimated Shared Values as text!","language":"C++","stars":481,"topics":["reanimated","reanimated2","text","react-native"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-animateable-text A fork of React Native's component that supports Reanimated Shared Values as text! Compatibility (🚨 Make sure you use the correct version for your RN project) Animateable Text Version RN Version Old Arch New Arch (Fabric) ^0.19.3 ^0.85.3 🛑 ✅ ^0.19.2 ^0.86.0 🛑 ✅ ^0.18.1 ^0.83.2 🛑 ✅ ^0.17.1 ^0.81.5 ✅ ✅ ^0.16.0 ^0.79.0 ✅ ✅ ^0.15.0 ^0.77.0 ✅ ✅ ^0.14.2 ^0.76.0 ✅ ✅ ^0.13.0 ^0.75.0 ✅ 🛑 ^0.12.0 ^0.74.0 ✅ 🛑 ^0.11.0 ^0.71.7 ✅ 🛑 ^0.10.0 ^0.68 ✅ 🛑 ^0.9.1 ^0.67 ✅ 🛑 ^0.8.0 ^0.66 ✅ 🛑 ^0.7.0 ^0.65 ✅ 🛑 ^0.6.0 ^0.64 ✅ 🛑 ^0.5.9 ^0.63 ✅ 🛑 Installation First make sure you have reanimated already installed and linked from here then run then for Expo managed projects you need to prebuild your project, and for ReactNative bare projects you should run Usage (Reanimated 2/3) Note about Reanimated 2: The library does not work with Alpha 9 until RC1. Make sure to update to RC2 or later! Use it the same as a component, except instead of passing the text as a child node, pass it using the text props. OMG, why would you build this? We want to animate numbers based on gestures as fast as possible, for example for charts displaying financial data. Updating native state is too slow and not feasible for a smooth experience. Using createAnimatedComponent doesn't allow you to animate the text since the children of Text are separate nodes rather than just props. The best way so far has been to use the component from react-native-redash, which allows you to render a strin","default_branch":null,"files":null,"tree":[],"storefront":"/r/axelra-ag","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/axelra-ag/react-native-animateable-text/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}