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 RouteUnifyingIndexHtmlRequestListener only when React is enabled #2264

Conversation

taefi
Copy link
Contributor

@taefi taefi commented Mar 26, 2024

Also, this changes the behavior of client route registration so that when the views.json is not found, it only logs its absence, and it gracefully skips client route registration. This is necessary as an application might have React enabled, but it is not necessarily using the FS Router.

…bled

Also, this changes the behavior of client route registration
so that when the views.json is not found, it only logs the
absence of views.json and is gracefully skips client route
registration. This is necessary as an application might have
React enabled, but it is not necessarily using the FS Router.
Copy link

sonarcloud bot commented Mar 26, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.77%. Comparing base (d959da5) to head (26efd57).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2264   +/-   ##
=======================================
  Coverage   93.77%   93.77%           
=======================================
  Files          65       65           
  Lines        1639     1639           
  Branches      368      368           
=======================================
  Hits         1537     1537           
  Misses         67       67           
  Partials       35       35           
Flag Coverage Δ
unittests 93.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@platosha platosha merged commit b9eb41e into main Mar 27, 2024
15 checks passed
@platosha platosha deleted the taefi/register-route-unifying-indexhtml-listener-when-react-is-enabled branch March 27, 2024 08:35
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Hilla 24.4.0.alpha18 and is also targeting the upcoming stable 24.4.0 version.

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.

None yet

3 participants