wkh237 / react-native-animate-number Goto Github PK
View Code? Open in Web Editor NEWCustomizable react native component for number animations.
Customizable react native component for number animations.
Hello,
The animation works as expected after the first display, but I can't get how to reset it, to make it works for the next taps, for example when I change screen and come back to this one...
When I go back to a page,find this problem
Counter always start from 0 how to set an other start value ?
Using <AnimateNumber value={1000} timing="easeIn" />
shows really weird visual results. The numbers in the animation are all over the place before it reaches the final count.
I would like to start a counter when another finishes counting, how can I do that?
So, when I used this package with my project, I encountered this bug
17 | export default class AnimateNumber extends Component {
18 |
> 19 | props : {
| ^
20 | countBy? : ?number,
21 | interval? : ?number,
22 | steps? : ?number,
Didn't found way animate in decrement order
eg start from 60 end with 0
Hi, @wkh237 there are some opened issues and unmerged pull requests here. There are no problem if this project has been abandoned just let us know. Thank you
Hi!
As we know this package is not maintained anymore but I still need to use this package. Therefore I'm maintaining a fork in this repo: https://github.com/bankifyio/react-native-animate-number. Pull requests and feedbacks are appreciated!
I am now waiting it to finish the animation 😂 on android device .. It is not yet done .
However, in iOS, it works quickly
Look at:
https://www.npmjs.com/package/react-native-animate-number
The github links to another one of your projects.
See https://fb.me/react-async-component-lifecycle-hooks for details.
* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
Please update the following components: AnimateNumber
This warning comes up in dev tools for newer versions of React 16.X.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.