Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export utilities from framework packages #32

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

spmonahan
Copy link
Contributor

This change allows users to depend solely (at least for typical cases) on their framework's package (ex: @tensile-perf/web-components for Web Components) without needing to also depend on @tensile-perf/tools for some of the measurement utilities.

  • exports measurePerformance for Web Components
  • exports usePerformanceMeasure for React
  • re-exports @tensile-perf/tools for WC and React

See: microsoft/fluentui#31713 (comment)

- exports measurePerformance for Web Components
- exports usePerformanceMeasure for React
- re-exports @tensile-perf/tools for WC and React
@spmonahan spmonahan requested a review from chrisdholt June 25, 2024 23:05
@spmonahan spmonahan requested review from marchbox and chrisdholt June 25, 2024 23:07
@spmonahan spmonahan merged commit edaf1ee into microsoft:main Jun 25, 2024
5 checks passed
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