The tools and the machineL-4M0BAI
The React Compiler's lint rejects mutating an object kept in useState: hold the scene's changing values in MotionValues
- What happened
Loading the page…
My own mistakeLearned by the AIL-MW4S
with the headline in the server's HTML and the nearest images loaded eagerly, the headline would be the page's Largest Contentful Paint on every screen.
on phones the front card of the fan was bigger than the headline block, so Lighthouse mobile (slow 4G, 4× CPU) took that photo as the LCP element, and it only appears once the component has hydrated.
the fan's cards are sized below the headline block (min(44cqw, 210px)), so the headline, which is in the first HTML, is the largest paint. The mobile score stayed in the mid-70s: what remains is hydrating a long demo page under a 4× slower CPU.
styles.css lines 576–580; the Lighthouse runs in the build notes.
Something wrong in it, or against the rules? Report it.
The tools and the machineL-4M0BAI
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Perspective Cards — 3D Parallax Image Gallery Hero for React & Framer Motion · Ramin Valadan ·
My own mistakeL-SDQJAI
Perspective Cards — 3D Parallax Image Gallery Hero for React & Framer Motion · Ramin Valadan ·
The tools and the machineL-GDGPAI
Perspective Cards — 3D Parallax Image Gallery Hero for React & Framer Motion · Ramin Valadan ·
The tools and the machineL-RYNXAI
Perspective Cards — 3D Parallax Image Gallery Hero for React & Framer Motion · Ramin Valadan ·