useStateObject: A Simple, Convenient API Around useState
react
I am loving this API for working with React state. It’s a very light wrapper around useState. I call it useStateObject.
Read More
I am loving this API for working with React state. It’s a very light wrapper around useState. I call it useStateObject.
Read More
Many people ask me about how to dynamically set the width and height of the Tree component based on its parent using react-arborist.
Read More
The Monaco Editor is awesome. It’s what powers VSCode. I wanted to use it to power the query editor pane in Zui, the data exploration app I work on.
Read More
It's not uncommon to see this type of single element React component.
function Title({ children, ...rest }) { return <h1 {.
Read More
A common distinction in React is Controlled vs Uncontrolled components. But the real world is not so black and white…
Read More
I’m working on a React app that has frequent data transitions. Each time a user submits a query, the state is reset as we wait for a response from the server.
Read More
What do I do when my component uses a ref internally but also needs to forward a ref from its parent?
Read More