Skip to content
Back to skills

Rendering Activity

ASecurity

Imported skill rendering_activity from vercel

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
developmentreact

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Rendering Activity?

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

Security grade badge for Rendering Activity
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bitwikiorg-rendering-activity/badge)](https://www.skillsdirectory.com/skills/bitwikiorg-rendering-activity)

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 rendering_activity from vercel
name: rendering_activity
signature: 1e5e7eaf3555e61d6a2e900089c676527d26259501db5594f59544b6c664f85a
source: /a0/tmp/skills_research/vercel/skills/react-best-practices/rules/rendering-activity.md
---

---
title: Use Activity Component for Show/Hide
impact: MEDIUM
impactDescription: preserves state/DOM
tags: rendering, activity, visibility, state-preservation
---

## Use Activity Component for Show/Hide

Use React's `<Activity>` to preserve state/DOM for expensive components that frequently toggle visibility.

**Usage:**

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

function Dropdown({ isOpen }: Props) {
  return (
    <Activity mode={isOpen ? 'visible' : 'hidden'}>
      <ExpensiveMenu />
    </Activity>
  )
}
```

Avoids expensive re-renders and state loss.

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.