Preact Best Practices

Best-practice guidance for authoring, reviewing, debugging, and modernizing Preact v10 apps and components, including hooks, signals, `preact/compat`, SSR, performance, and testing. Use this skill whenever the user is working in Preact (or `preact/compat`), asks for Preact equivalents to React patterns, needs help choosing signals vs hooks for shared state, is debugging rerenders or hydration issues, or wants maintainable Preact-first patterns instead of React-only assumptions.

mkgp-dev 3eb13df 12 files · 18.0 KB Updated

File contents

mkgp-dev/codex-skills/tree/main/skills/.experimental/preact-best-practices commit 3eb13dfc0e

Frequently asked questions

npx skillmds@latest add mkgp-dev/preact-best-practices