Skip to content

SpotifyBlockComponent as an island - #3829

Merged
oliverlloyd merged 6 commits into
mainfrom
oliver/spotify-island
Jan 14, 2022
Merged

oliverlloyd merged 6 commits into
mainfrom
oliver/spotify-island

Conversation

@oliverlloyd

Copy link
Copy Markdown
Contributor

What does this change?

Moves SpotifyBlockComponent over to the island pattern

Why?

This work forms part of the larger move away from App.tsx

@github-actions

github-actions Bot commented Jan 13, 2022 •

Copy link
Copy Markdown

Size Change: -7.08 kB (0%)

Total Size: 2.58 MB

Filename Size Change
dotcom-rendering/dist/252.js 0 B -1.61 kB (removed) 🏆
dotcom-rendering/dist/252.legacy.js 0 B -1.69 kB (removed) 🏆
dotcom-rendering/dist/frontend.server.js 1.82 MB +74 B (0%)
dotcom-rendering/dist/islands.js 7.23 kB +16 B (0%)
dotcom-rendering/dist/islands.legacy.js 7.99 kB +14 B (0%)
dotcom-rendering/dist/react.js 137 kB -91 B (0%)
dotcom-rendering/dist/react.legacy.js 143 kB -143 B (0%)
dotcom-rendering/dist/SpotifyBlockComponent.js 0 B -1.8 kB (removed) 🏆
dotcom-rendering/dist/SpotifyBlockComponent.legacy.js 0 B -1.86 kB (removed) 🏆
ℹ️ View Unchanged
Filename Size
dotcom-rendering/dist/195.js 1.11 kB
dotcom-rendering/dist/195.legacy.js 1.23 kB
dotcom-rendering/dist/272.js 8.6 kB
dotcom-rendering/dist/327.js 4.46 kB
dotcom-rendering/dist/327.legacy.js 4.47 kB
dotcom-rendering/dist/331.js 16.2 kB
dotcom-rendering/dist/331.legacy.js 16.4 kB
dotcom-rendering/dist/343.js 1.63 kB
dotcom-rendering/dist/343.legacy.js 1.71 kB
dotcom-rendering/dist/348.js 4.02 kB
dotcom-rendering/dist/348.legacy.js 4.12 kB
dotcom-rendering/dist/39.js 4.05 kB
dotcom-rendering/dist/39.legacy.js 4.2 kB
dotcom-rendering/dist/400.js 21.5 kB
dotcom-rendering/dist/400.legacy.js 21.5 kB
dotcom-rendering/dist/413.js 4.23 kB
dotcom-rendering/dist/413.legacy.js 4.34 kB
dotcom-rendering/dist/460.legacy.js 6.74 kB
dotcom-rendering/dist/468.legacy.js 3.09 kB
dotcom-rendering/dist/597.js 5.36 kB
dotcom-rendering/dist/597.legacy.js 5.52 kB
dotcom-rendering/dist/624.js 3.58 kB
dotcom-rendering/dist/624.legacy.js 3.7 kB
dotcom-rendering/dist/790.js 2.14 kB
dotcom-rendering/dist/790.legacy.js 2.19 kB
dotcom-rendering/dist/atomIframe.js 1.87 kB
dotcom-rendering/dist/atomIframe.legacy.js 2.14 kB
dotcom-rendering/dist/bootCmp.js 7.39 kB
dotcom-rendering/dist/bootCmp.legacy.js 10.9 kB
dotcom-rendering/dist/braze-web-sdk-core.js 36.1 kB
dotcom-rendering/dist/braze-web-sdk-core.legacy.js 36.1 kB
dotcom-rendering/dist/CalloutBlockComponent.js 4.14 kB
dotcom-rendering/dist/CalloutBlockComponent.legacy.js 4.46 kB
dotcom-rendering/dist/cmp.js 7.51 kB
dotcom-rendering/dist/coreVitals.js 4.03 kB
dotcom-rendering/dist/coreVitals.legacy.js 4.33 kB
dotcom-rendering/dist/DocumentBlockComponent.js 566 B
dotcom-rendering/dist/DocumentBlockComponent.legacy.js 596 B
dotcom-rendering/dist/dynamicImport.js 2.99 kB
dotcom-rendering/dist/dynamicImport.legacy.js 3.29 kB
dotcom-rendering/dist/embedIframe.js 1.88 kB
dotcom-rendering/dist/embedIframe.legacy.js 2.14 kB
dotcom-rendering/dist/ga.js 3.88 kB
dotcom-rendering/dist/ga.legacy.js 4.14 kB
dotcom-rendering/dist/guardian-braze-components-banner.js 9.57 kB
dotcom-rendering/dist/guardian-braze-components-banner.legacy.js 9.58 kB
dotcom-rendering/dist/guardian-braze-components-end-of-article.js 6.56 kB
dotcom-rendering/dist/guardian-braze-components-end-of-article.legacy.js 6.57 kB
dotcom-rendering/dist/InteractiveBlockComponent.js 2.95 kB
dotcom-rendering/dist/InteractiveBlockComponent.legacy.js 3.09 kB
dotcom-rendering/dist/InteractiveContentsBlockComponent.js 1.87 kB
dotcom-rendering/dist/InteractiveContentsBlockComponent.legacy.js 1.95 kB
dotcom-rendering/dist/MapEmbedBlockComponent.js 1.87 kB
dotcom-rendering/dist/MapEmbedBlockComponent.legacy.js 1.93 kB
dotcom-rendering/dist/MostViewedFooterData.js 6.27 kB
dotcom-rendering/dist/MostViewedFooterData.legacy.js 6.37 kB
dotcom-rendering/dist/newsletterEmbedIframe.js 1.83 kB
dotcom-rendering/dist/newsletterEmbedIframe.legacy.js 2.1 kB
dotcom-rendering/dist/OnwardsLower.js 9.7 kB
dotcom-rendering/dist/OnwardsLower.legacy.js 9.91 kB
dotcom-rendering/dist/OnwardsUpper.js 14.1 kB
dotcom-rendering/dist/OnwardsUpper.legacy.js 14.4 kB
dotcom-rendering/dist/ophan.js 7.18 kB
dotcom-rendering/dist/ophan.legacy.js 7.38 kB
dotcom-rendering/dist/relativeTime.js 2.41 kB
dotcom-rendering/dist/relativeTime.legacy.js 2.68 kB
dotcom-rendering/dist/RichLinkComponent.js 3.27 kB
dotcom-rendering/dist/RichLinkComponent.legacy.js 3.31 kB
dotcom-rendering/dist/sentry.js 676 B
dotcom-rendering/dist/sentry.legacy.js 688 B
dotcom-rendering/dist/sentryLoader.js 4.74 kB
dotcom-rendering/dist/sentryLoader.legacy.js 7.71 kB
dotcom-rendering/dist/shimport.js 2.75 kB
dotcom-rendering/dist/shimport.legacy.js 2.76 kB
dotcom-rendering/dist/SignInGateMain.js 1.82 kB
dotcom-rendering/dist/SignInGateMain.legacy.js 1.85 kB
dotcom-rendering/dist/VideoFacebookBlockComponent.js 1.88 kB
dotcom-rendering/dist/VideoFacebookBlockComponent.legacy.js 1.93 kB
dotcom-rendering/dist/VineBlockComponent.js 575 B
dotcom-rendering/dist/VineBlockComponent.legacy.js 591 B
dotcom-rendering/dist/YoutubeBlockComponent.js 2.57 kB
dotcom-rendering/dist/YoutubeBlockComponent.legacy.js 2.7 kB

compressed-size-action

@jamesgorrie jamesgorrie left a comment

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.

A few questions mainly for my learning.

Comment thread dotcom-rendering/src/web/components/SpotifyBlockComponent.importable.tsx Outdated
Comment thread dotcom-rendering/src/web/lib/renderElement.tsx
@oliverlloyd
oliverlloyd merged commit 7afa47f into main Jan 14, 2022
@oliverlloyd
oliverlloyd deleted the oliver/spotify-island branch January 14, 2022 11:01
@jamesgorrie

Copy link
Copy Markdown
Contributor

part of #3629

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants