How to change numeric input by dragging in React?

The above GIF is one of the interactions that I love about Figma . To change the position of an item, I do not have to use a keyboard at all. Just a mouse is enough.
So in this article we are going to create a numeric input field whose value can be … Read more


Promise as React element type

For fun, here's a proof-of-concept based on an idea by @sebmarkbage. If a promise is passed to React.createElement, on initial mount, React waits for the promise to resolve to a React element type....

Read more »