|
You are here |
adropincalm.com | ||
| | | | |
bitsofco.de
|
|
| | | | | Articles on frontend development and more. | |
| | | | |
jshakespeare.com
|
|
| | | | | Say you want to display a numeric value on a webpage with a count-up animation, like this: There are a few popular libraries that will do this for you, often with lots of configurable bells and whistles. I'm always reluctant to add a dependency to my application that I could write myself in under an hour (and you should be too), so I did just that. Here's the code in vanilla JavaScript using the DOM API (CodePen here): // How long you want the animation to take, in ms const animationDuration = 2000; // C... | |
| | | | |
lukehansford.me
|
|
| | | | | ||
| | | | |
www.jameskerr.blog
|
|
| | | [AI summary] The article introduces a React state management utility called useStateObject, offering methods to manipulate state with dot syntax and TypeScript support for type safety. | ||