Thanks to visit codestin.com
Credit goes to github.com

Skip to content

πŸ“Ž Add support for the defer attribute in import statementsΒ #4215

@denbezrukov

Description

@denbezrukov

Description

The TC39 "Deferred Import Evaluation" proposal allows deferring the execution of imported modules until their properties are accessed. This optimizes performance by loading modules without executing them immediately. The syntax is:

import defer * as myModule from "my-module";

https://github.com/tc39/proposal-defer-import-eval/?tab=readme-ov-file

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions