The VM architecture in Glimmer made implementing rehydration pretty fun, with clear semantics. PR:https://github.com/glimmerjs/glimmer-vm/pull/549 …
-
-
Slowly start phasing out the virtual dom code Discourse has. First step, build our virtual dom templates from HBS instead of raw JS code
-
getting an AST from Glimmer is pretty easy. I think it's even public API in Ember.
-
I'm trying to figure out how! Is there someone I should ask?
-
are we talking about buildtime or runtime? at build time something like require('@glimmer/syntax').parse(...)
-
Yeah that's the easiest.
-
sorry, seems to be preprocess(), not parse() example athttps://github.com/fkling/astexplorer/blob/master/website/src/parsers/handlebars/glimmer.js#L15 …
End of conversation
New conversation -
-
-
Once we're on HBS for everything, going back to glimmer/ember when the time is right is much easier
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.