carbon-design-system / carbon-design-system/devtools

Cache specs using dataset

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
46
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Consider adding calculated spec results like typography and color to a data attribute to avoid having to do those calculations every time the user mouses over to help with performance.

https://github.com/carbon-design-system/devtools/blob/master/App/inject/components/Specs/Typography/index.js#L95-L96
https://github.com/carbon-design-system/devtools/blob/master/App/inject/components/Specs/Typography/index.js#L137-L142

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.