Skip to content

add React Scan to storybook#444

Merged
severo merged 2 commits intomasterfrom
add-react-scan-to-storybook
Mar 2, 2026
Merged

add React Scan to storybook#444
severo merged 2 commits intomasterfrom
add-react-scan-to-storybook

Conversation

@severo
Copy link
Copy Markdown
Contributor

@severo severo commented Mar 2, 2026

Note that it's only enabled in "isolation mode": aidenybai/react-scan#285 (comment)

Screencast.From.2026-03-02.17-51-43.mp4

fyi @platypii @bleakley it will help optimizing.

Note that it's only enabled in "isolation mode": aidenybai/react-scan#285 (comment)
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds React Scan to the project’s Storybook setup to help identify/optimize unnecessary React re-renders while developing components.

Changes:

  • Add react-scan as a dev dependency.
  • Initialize React Scan in Storybook’s preview.ts.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Adds react-scan to devDependencies so it’s available for Storybook usage.
.storybook/preview.ts Initializes React Scan during Storybook preview startup.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .storybook/preview.ts Outdated
@severo severo merged commit a4c0251 into master Mar 2, 2026
@severo severo deleted the add-react-scan-to-storybook branch March 2, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants