Remove microtask in runtime compiler#20909
Conversation
Development AssetsDiff --- main/out.txt 2025-05-26 18:18:28.000000000 +0000
+++ pr/./pr-15475668273/out.txt 2025-06-05 19:34:46.000000000 +0000
@@ -1,5 +1,5 @@
2.2M └─┬ .
-1015K ├─┬ @ember
+1014K ├─┬ @ember
205K │ ├─┬ -internals
69K │ │ ├─┬ views
64K │ │ │ └─┬ libDetails
|
| const normalizedOptions = compileOptions(options); | ||
| const component = normalizedOptions.component ?? templateOnly(); | ||
|
|
||
| queueMicrotask(() => { |
There was a problem hiding this comment.
TODO: for @NullVoxPopuli
- JS Representation of Template Tag rfcs#931
- does the RFC say anything about this?
Potential use case:
- forward references (like functions)
This test was presumably extracted from https://github.com/emberjs/ember.js/pull/20907/files wher eit makes sense. I'm replacing it with one that only covers the immediate change being made in this PR.
|
fixed. Hoping we can merge soon, cause I really need |
|
Do we want to open another issue for this?
|
|
|
||
| let state = new State(); | ||
|
|
||
| hide(state); |
There was a problem hiding this comment.
I think somewhere it was document (on hide maybe?) that this is for tricking JIT stuff
This came out of