· react
Build your own shimmer skeleton that never goes out of sync
Skeleton screens break every time you touch the UI. Here's how to build one that reads the DOM and keeps itself in sync automatically.
Skeleton screens break every time you touch the UI. Here's how to build one that reads the DOM and keeps itself in sync automatically.
I started naming my useEffect functions about a year ago. It changed how I read components, how I debug them, and eventually how I structure them.