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: Pass route data through window.Vaadin.routesConfig instead of an import (#19666) (CP: 24.4) #19670

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

… import (#19666)

Instead of importing routes.js/routes.ts/routes.tsx from the project into Flow.tsx and creating a circular dependency, this moves importing of routes.js to a new file that is always included when react is used vaadin-react.tsx. This file publishes the routes as window.Vaadin.routesConfig so that Flow.tsx can read them from there without directly depending on routes.js

Fixes #19658
@vaadin-bot
Copy link
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR[Message is sent from bot]

@vaadin-bot vaadin-bot enabled auto-merge (squash) July 4, 2024 11:00
Copy link

sonarqubecloud bot commented Jul 4, 2024

Copy link

github-actions bot commented Jul 4, 2024

Test Results

1 105 files  ±0  1 105 suites  ±0   1h 22m 18s ⏱️ +42s
7 038 tests ±0  6 989 ✅ ±0  49 💤 ±0  0 ❌ ±0 
7 412 runs  +7  7 351 ✅ +7  61 💤 ±0  0 ❌ ±0 

Results for commit 649d024. ± Comparison against base commit 76c2aea.

@vaadin-bot vaadin-bot merged commit 680dc19 into 24.4 Jul 4, 2024
25 of 26 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-19666-to-24.4-1720090373182 branch July 4, 2024 11:09
@vaadin-bot
Copy link
Collaborator Author

This ticket/PR has been released with Vaadin 24.4.5.

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.

3 participants