Refreshing the Next.js App Router When Your Markdown Content Changes
How to refresh the Next.js App Router when content in a folder changes. Yes, websockets.
How to refresh the Next.js App Router when content in a folder changes. Yes, websockets.
A utility type for creating keyable union of object types.
How to increment a name to avoid duplicates.
Hard-won helpers for working with arcs.
How I used Liveblock's Storage APIs to create a new feature.
Implementing reordering commands (Send to Back, Send Backward, Bring Forward, and Bring to Front) in using fractional indexing.
Implementing ordering commands (Send to Back, Send Backward, Bring Forward, and Bring to Front) in an array of items.
Improve dragging experience by adding a spooky dead zone, or a minimum distance before a shape will begin to drag.
How to drag shapes the right way. And yes, there is a wrong way! But trust me, this is the right way.
A look at an obscure bug common to drawing programs, where rotations can cause shapes to move to new positions.
All the code you need to control a camera in a zoom-able, pan-able UI for an infinite canvas.
How to filter properties from an object.
A survey of the bizarre prototypes designers can now make in Figma.
A tutorial on building my this blog's theme-switching microinteraction.
Steve Ruiz © 2023
hey click here