Building a Chat Interface That Doesn't Fight Your Scroll Position
A React implementation for following streaming replies, pausing when someone scrolls up, and keeping their place when older messages load. Includes a working demo.
Read articleInteractive search needs JavaScript. Use the links above to browse the site.
On building interfaces, working through the details, and learning along the way.
A React implementation for following streaming replies, pausing when someone scrolls up, and keeping their place when older messages load. Includes a working demo.
Read articleLooking back on nearly twelve years of remote work, what changed during COVID, and what I still appreciate about working from home.
Read articleAfter more than a decade of building interfaces, the hardest work is deciding how they should behave when things don't go as planned.
Read articleLearn how to build React component variants by composing CSS classes in a typesafe and flexible manner.
Read articleLearn how to spruce up your pull requests with a few simple tips. These tips shouldn't add more than a couple of minutes to your workflow, and you'll look like a rockstar to your peers.
Read articleLearn how to simplify your code by using a simple trick to remove an event listener after an event has been fired once.
Read articleLearn how to rename fields of a GraphQL object by using aliases.
Read articleLearn how to filter out multiple console messages by using either regular expressions or prefixing a string with a hyphen-minus.
Read article