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

Early review request for "Explicit JavaScript Compile Hints" #947

Closed
1 task done
marjakh opened this issue Apr 22, 2024 · 1 comment
Closed
1 task done

Early review request for "Explicit JavaScript Compile Hints" #947

marjakh opened this issue Apr 22, 2024 · 1 comment

Comments

@marjakh
Copy link

marjakh commented Apr 22, 2024

こんにちは TAG-さん!

I'm requesting a TAG review of "Explicit JavaScript Compile Hints".

This proposal introduces a new magic comment that signals to browsers that the functions in a JavaScript file are likely to be needed by the website. This allows the browser to parse and compile them eagerly, which can improve page load times.

Further details:

Thanks in advance!

@plinss plinss added Progress: in progress Review type: CG early review An early review of general direction from a Community Group Mode: breakout Work done during a time-limited breakout session Progress: untriaged and removed Progress: untriaged Progress: in progress Review type: CG early review An early review of general direction from a Community Group Mode: breakout Work done during a time-limited breakout session labels Aug 7, 2024
@plinss plinss added this to the 2024-11-04-week milestone Nov 4, 2024
@torgo torgo added Resolution: decline The TAG declines to review this work. We don't think our review would add much. We don't object. Resolution: out of scope and removed Resolution: decline The TAG declines to review this work. We don't think our review would add much. We don't object. labels Nov 13, 2024
@torgo
Copy link
Member

torgo commented Nov 13, 2024

In general, the TAG is skeptical of introducing a pattern which introduces semantics in comments. It would be more useful to use decorators or another pattern that cannot be stripped. It seems like this is more general than just browsers, so we feel this probably should be a topic for TC39. We're going to close this for now and we encourage you to bring this to TC39 and come back to us.

@torgo torgo closed this as completed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants