Skip to content

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented May 1, 2024

Description

As suggested by sapphi at #16563 (review), we also need to handle ClassDeclaration and ClassExpression name scoping for the SSR transform so it properly shadows the import names.

Added a few unit tests to ensure it.

@bluwy bluwy added p3-minor-bug An edge case that only affects very specific usage (priority) feat: ssr labels May 1, 2024
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

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

Thanks!

@sapphi-red sapphi-red merged commit c071eb3 into main May 1, 2024
@sapphi-red sapphi-red deleted the fix-class-expression-ssr branch May 1, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: ssr p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants