Skip to content

docs: document import defer syntax (2.8)#3067

Open
lunadogbot wants to merge 1 commit intodenoland:2.8from
lunadogbot:docs/2.8-import-defer
Open

docs: document import defer syntax (2.8)#3067
lunadogbot wants to merge 1 commit intodenoland:2.8from
lunadogbot:docs/2.8-import-defer

Conversation

@lunadogbot
Copy link
Copy Markdown

Summary

Documents experimental support for the TC39 Deferred Module Evaluation proposal, shipping in Deno 2.8 (denoland/deno#32360).

  • Adds a "Deferred module evaluation" section to runtime/fundamentals/modules.md covering the import defer * as ns from "..." syntax, lazy-evaluation semantics, and a typical use case.
  • Notes the proposal is still at TC39 Stage 3 and the syntax may change.

Test plan

  • deno task serve renders the new section.

Adds a section to the Modules guide describing the TC39 Deferred Module
Evaluation proposal, which Deno 2.8 supports as an experimental feature.
Explains the lazy-evaluation semantics and a typical use case.

Refs denoland/deno#32360
@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 11:46
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.

1 participant