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

ref(integrations): Rewrite pluggable integrations to use functional style #9936

Merged
merged 5 commits into from
Dec 21, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Dec 20, 2023

Slowly getting there...

@mydea mydea self-assigned this Dec 20, 2023
@mydea mydea force-pushed the fn/integrations-functional branch 3 times, most recently from 2b34740 to b95347b Compare December 21, 2023 09:18
Copy link
Contributor

github-actions bot commented Dec 21, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.6 KB (0%)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 67.02 KB (0%)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.6 KB (0%)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.61 KB (0%)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 30.22 KB (-0.01% 🔽)
@sentry/browser - Webpack (gzipped) 21.91 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 73.03 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.72 KB (0%)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.93 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped) 22.96 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 203.1 KB (0%)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 93.02 KB (0%)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 68.08 KB (0%)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.88 KB (0%)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.4 KB (0%)
@sentry/react - Webpack (gzipped) 21.95 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 84.07 KB (-0.11% 🔽)
@sentry/nextjs Client - Webpack (gzipped) 48.71 KB (-0.19% 🔽)
@sentry-internal/feedback - Webpack (gzipped) 16.56 KB (0%)

return {
name: INTEGRATION_NAME,
setup(client) {
if (!client.on) {
Copy link
Member

Choose a reason for hiding this comment

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

l: let's add todo v8 comment to remove this?

Copy link
Member Author

Choose a reason for hiding this comment

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

We have a whole bunch of these checks already anyhow, I think we'll do a general search for this when we do v8 😅

packages/integrations/src/reportingobserver.ts Outdated Show resolved Hide resolved
@mydea mydea merged commit 1413568 into develop Dec 21, 2023
96 checks passed
@mydea mydea deleted the fn/integrations-functional branch December 21, 2023 15:09
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