feat: update site domain to buildml.website and add project metadata,… - #9
Conversation
… documentation, and agent security tools
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found 2 new issues in 2 files · 2 warnings · score 70 / 100 (Needs work) · 5 fixed · vs 2 warnings
Reviewed by React Doctor for commit |
| "use client"; | ||
|
|
||
| import { motion } from "framer-motion"; | ||
| import { MotionConfig, motion } from "framer-motion"; |
There was a problem hiding this comment.
React Doctor · react-doctor/use-lazy-motion (warning)
Importing "motion" ships about 30 kb of extra code and slows page load. Use "m" with LazyMotion instead.
Fix → Use import { LazyMotion, m } from "framer-motion" with domAnimation features. Saves about 30kb.
| ); | ||
| } | ||
|
|
||
| function ConsolePanel({ |
There was a problem hiding this comment.
React Doctor · react-doctor/prefer-explicit-variants (warning)
Component "ConsolePanel" picks which component to render from 2 boolean props (isRunPending, isSubmitPending), which multiplies untestable variants. Split it into explicit variant components so each renders one clear path.
Fix → Replace boolean props that switch whole subtrees with explicit variant components, like <ThreadComposer /> and <EditMessageComposer />, so each variant renders one clear path.
… documentation, and agent security tools