Skip to content

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

Merged
mydea merged 5 commits intodevelopfrom
fn/integrations-functional
Dec 21, 2023
Merged

ref(integrations): Rewrite pluggable integrations to use functional style#9936
mydea merged 5 commits intodevelopfrom
fn/integrations-functional

Conversation

@mydea
Copy link
Copy Markdown
Member

@mydea mydea commented Dec 20, 2023

Slowly getting there...

@mydea mydea requested review from AbhiPrasad and lforst December 20, 2023 14:47
@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
@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
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 😅

@mydea mydea force-pushed the fn/integrations-functional branch from ff9d07b to 0e1adee Compare December 21, 2023 14:43
@mydea mydea merged commit 1413568 into develop Dec 21, 2023
@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