Skip to main content

Contributing

Run the local checks before opening a PR:

pnpm test
pnpm typecheck
pnpm build
pnpm docs:build
pnpm size
pnpm readme:check

Use Conventional Commits:

feat(timer): add lifecycle option
fix(group): preserve item state across rerenders
docs(docs): refresh recipe playgrounds
ci(size): post bundle report to pull requests

Timer rules:

  • Do not schedule work during render.
  • Use recursive setTimeout, not setInterval.
  • Keep timezone and formatting outside the library.
  • Keep diagnostics opt-in.
  • Add tests for Strict Mode and async callbacks when lifecycle behavior changes.