Skip to content

docs: note that @JavaScript honors runtime URL prefixes - #6463

Draft
vaadin-bot wants to merge 1 commit into
mainfrom
doc-bot/vaadin-flow/24653-c8fbe951b2b5be91
Draft

vaadin-bot wants to merge 1 commit into
mainfrom
doc-bot/vaadin-flow/24653-c8fbe951b2b5be91

Conversation

@vaadin-bot

Copy link
Copy Markdown
Contributor

Documentation for vaadin/flow#24653 by @Artur-.

Note

The source pull request is merged, so this documentation describes the final
shape of the change. Please review it and mark it ready for review.

Change categories: BEHAVIOR_CHANGE, BREAKING_CHANGE, DEPRECATION

File Change
articles/flow/advanced/loading-resources.adoc Rewrote the @JavaScript entry in the annotations list to describe that a value with a runtime prefix ((redacted) (redacted) a leading /, http(s)://, //, or another scheme) is loaded as a runtime script instead of being bundled, and that bundling a bare relative @JavaScript value is deprecated in favor of @JsModule. Added a matching clarification to the "Bundled Frontend Resources" section.

This documentation covers only the @JavaScript bundling/runtime-loading behavior change, which is the part of the source pull request a reader of this page needs to adapt to. It does not cover the new JavaScriptHotswapper live-reload behavior, the developmentOnly production-mode fix, or @JavaScript support on the application shell, since those are either internal-use APIs, diagnostics a developer discovers at the point they apply, or too narrow to warrant a dedicated section on their own.

Auto-generated by the Documentation Bot — review before merging.

Generated by Documentation Bot for #24653 · agent · 117.8 AIC · ⊞ 11.7K · ◷

  • expires on Nov 21, 2026, 10:10 AM UTC

Describe that a @javascript value with a runtime prefix (context://,
base://, a leading /, http(s)://, //, or another scheme) is loaded as
a runtime script instead of being bundled, and that bundling a bare
relative @javascript value is deprecated in favor of @jsmodule. Updates
articles/flow/advanced/loading-resources.adoc.

Documents vaadin/flow#24653 (`7e4f4942cd59453d143191947639dc56a7d936f0`).
@github-actions

Copy link
Copy Markdown
Contributor

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-6463.fly.dev

Changed pages

Added content is highlighted in green; removed content is marked in red on each page.

Built from 6899c1e

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.

2 participants