Skip to content

Conversation

@jzempel
Copy link
Member

@jzempel jzempel commented Sep 9, 2024

Description

This fix addresses an issue that is particularly problematic in SSR. The asynchronous imports cause a delay with CodeBlock rendering, which throw off internal page links. Given that Garden has SSR consumers relying heavily on CodeBlock, we need to revert to a solution that a) offers synchronous imports, and b) doesn't pollute the global space with window.PrismJS.

Copy link
Contributor

@ze-flo ze-flo left a comment

Choose a reason for hiding this comment

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

That's a bummer. 😢

@jzempel jzempel merged commit 0d4e7d0 into main Sep 10, 2024
@jzempel jzempel deleted the jzempel/sync-prism branch September 10, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants