Repository navigation
v2.3.0
React Frontend Skills v2.3.0
Added
scan now runs 31 checks. The three new ones catch Vitest 5 hard breaks:
| Check | Flags | Rule |
|---|---|---|
vitest5-removed-entrypoints |
Imports from vitest/suite, runners, coverage, snapshot, reporters, environments or mocker |
setup-vitest5-migration |
vitest5-nested-vi-mock |
vi.mock, vi.unmock or vi.hoisted below module top level, which fails the whole file |
mock-vi-mock-hoisting |
vitest5-tothrow-empty-string |
toThrow(''), which now matches any message |
assert-specific-matchers |
Like the existing checks, they only run when the project is on Vitest 5.
Fixed
vercel-react-best-practices/rendering-hydration-no-flicker: the inline-script theme example now setssuppressHydrationWarningon the element the script changes. Without it, React 19 logs an attribute hydration mismatch. This is recorded as a local patch inUPSTREAM.md.
Install
npx skills add PyModel/react-frontend-skills --allFull changelog: v2.2.0...v2.3.0