Skip to content

Commit

Permalink
feat: update web vitals to use web vitals pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
artmsilva committed Dec 23, 2021
1 parent efe221c commit 626f4cc
Show file tree
Hide file tree
Showing 12 changed files with 17,710 additions and 11,108 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/erbium
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# Storybook Addon Web Vitals

Storybook Addon Web Vitals can be used for instant feedback on loading, interactivity, and layout shift metric for each story.
Storybook Addon Web Vitals can be used for instant feedback on loading, interactivity, and layout shift metric for each story. We use the [web-vitals](https://github.com/GoogleChrome/web-vitals) library.

This is an alpha release. We currently only report CLS statuses.

![React Storybook Screenshot](https://user-images.githubusercontent.com/347490/104764861-f9288e80-5735-11eb-9198-14de8a066a40.png)

## Getting Started

Requires Storybook 6.1 or later. Install the latest with `npx sb upgrade --prerelease`
Requires Storybook 6.1 or later

First, install the addon

Expand Down
Loading

1 comment on commit 626f4cc

@vercel
Copy link

@vercel vercel bot commented on 626f4cc Dec 23, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.