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

fix: register runtime in ssr usage #9013

Merged
merged 1 commit into from
May 21, 2024
Merged

fix: register runtime in ssr usage #9013

merged 1 commit into from
May 21, 2024

Conversation

pskelin
Copy link
Contributor

@pskelin pskelin commented May 21, 2024

In SSR enviroments, regsterCurrentRuntime is skipped and the current runtime index does not get initialized. With nextjs SSR, hot reload loads two instances of the framework, which triggers the duplicate tags reporting logic, which breaks because it relies on the index being defined.

This fix runs the current runtime index initialization for all scenarios.

FIXES: #8886

@pskelin pskelin merged commit 54db283 into main May 21, 2024
9 checks passed
@pskelin pskelin deleted the ssr-runtime-fix branch May 21, 2024 07:13
pskelin added a commit that referenced this pull request May 21, 2024
ilhan007 pushed a commit that referenced this pull request May 21, 2024
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.

SSR / Next.js: Dev Server crashing when importing UI5 Web Components
2 participants