Skip to content
Back to skills

Rerender Transitions

ASecurity

Imported skill rerender_transitions from vercel

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchreactperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add bitwikiorg/skills.md --skill rerender_transitions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rerender Transitions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rerender Transitions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bitwikiorg-rerender-transitions/badge)](https://www.skillsdirectory.com/skills/bitwikiorg-rerender-transitions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Imported skill rerender_transitions from vercel
name: rerender_transitions
signature: 60f4033909a62df5e5b8c601494f9e50a562e2f8c1c2d81eac24f38142265f1c
source: /a0/tmp/skills_research/vercel/skills/react-best-practices/rules/rerender-transitions.md
---

---
title: Use Transitions for Non-Urgent Updates
impact: MEDIUM
impactDescription: maintains UI responsiveness
tags: rerender, transitions, startTransition, performance
---

## Use Transitions for Non-Urgent Updates

Mark frequent, non-urgent state updates as transitions to maintain UI responsiveness.

**Incorrect (blocks UI on every scroll):**

```tsx
function ScrollTracker() {
  const [scrollY, setScrollY] = useState(0)
  useEffect(() => {
    const handler = () => setScrollY(window.scrollY)
    window.addEventListener('scroll', handler, { passive: true })
    return () => window.removeEventListener('scroll', handler)
  }, [])
}
```

**Correct (non-blocking updates):**

```tsx
import { startTransition } from 'react'

function ScrollTracker() {
  const [scrollY, setScrollY] = useState(0)
  useEffect(() => {
    const handler = () => {
      startTransition(() => setScrollY(window.scrollY))
    }
    window.addEventListener('scroll', handler, { passive: true })
    return () => window.removeEventListener('scroll', handler)
  }, [])
}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.