Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Dec 12, 2023

This can be used instead of getCurrentHub().getScope(), and is a step towards getting rid of getCurrentHub() as a top level API.

@mydea mydea requested review from AbhiPrasad, Lms24 and lforst December 12, 2023 12:31
@mydea mydea self-assigned this Dec 12, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 74.87 KB (0%)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.24 KB (0%)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.85 KB (0%)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB (0%)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB (0%)
@sentry/browser - Webpack (gzipped) 21.39 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.48 KB (+0.02% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 63.2 KB (+0.02% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.67 KB (+0.03% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 21.72 KB (+0.05% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 199.21 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.94 KB (+0.06% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.92 KB (+0.08% 🔺)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.34 KB (+0.03% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.6 KB (0%)
@sentry/react - Webpack (gzipped) 21.44 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.34 KB (0%)
@sentry/nextjs Client - Webpack (gzipped) 48.23 KB (0%)
@sentry-internal/feedback - Webpack (gzipped) 16.19 KB (0%)

This can be used instead of `getCurrentHub().getScope()`, and is a step towards getting rid of `getCurrentHub()` as a top level API.
@mydea mydea force-pushed the fn/getcurrentscope branch from 6714527 to 0303deb Compare December 12, 2023 16:53
@mydea mydea merged commit 7303cda into develop Dec 13, 2023
@mydea mydea deleted the fn/getcurrentscope branch December 13, 2023 07:42
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.

4 participants