|
You are here |
bitsofco.de | ||
| | | | |
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... | |
| | | | |
frantic.im
|
|
| | | | | From React.createClass to hooks: why React is at odds with JavaScript | |
| | | | |
refine.dev
|
|
| | | | | We will explain the differences between useRef and React ref. | |
| | | | |
reactnative.dev
|
|
| | | Part of having a great developer experience is having great documentation. A lot goes into creating good docs - the ideal documentation is concise, helpful, accurate, complete, and delightful. Recently we've been working hard to make the docs better based on your feedback, and we wanted to share some of the improvements we've made. | ||