carbon-design-system / carbon-design-system/devtools
Cache specs using dataset
Open
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
Assessment
This issue has not been assessed yet.