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(server): use Math.random instead of nanoid #20860

Merged
merged 18 commits into from
Jan 16, 2025
Merged

Conversation

Lodin
Copy link
Contributor

@Lodin Lodin commented Jan 16, 2025

No description provided.

platosha and others added 18 commits December 20, 2024 16:04
Some routing cases in hybrid Flow layout + React view applications could produce DOM tree conflicts from Flow server-side changes and React client-side portal removal happening simultaneously. This could throw DOM `NotFoundError` in the browser. This change introduces a dedicated DOM element for React portal outlet, which allows to avoid the error.

Fixes vaadin/hilla#3002
# Conflicts:
#	flow-server/src/main/resources/com/vaadin/flow/server/frontend/Flow.tsx
# Conflicts:
#	flow-server/src/main/resources/com/vaadin/flow/server/frontend/Flow.tsx
@Lodin Lodin requested a review from caalador January 16, 2025 11:26
@Lodin Lodin enabled auto-merge (squash) January 16, 2025 11:27
Copy link

Test Results

1 163 files  ± 0  1 163 suites  ±0   1h 33m 0s ⏱️ - 2m 6s
7 621 tests ± 0  7 565 ✅ ± 0  56 💤 ±0  0 ❌ ±0 
7 971 runs   - 11  7 905 ✅  - 12  66 💤 +1  0 ❌ ±0 

Results for commit 552bf44. ± Comparison against base commit 66443d4.

@Lodin Lodin merged commit ae42659 into main Jan 16, 2025
25 of 26 checks passed
@Lodin Lodin deleted the fix/hilla-3002-after branch January 16, 2025 11:46
Lodin added a commit that referenced this pull request Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants