@gavinjoyce we should do a walkthrough of rehydration!
-
-
- 1 more reply
New conversation -
-
-
This reminds me, in Ember 2.13 is it possible to compile a hbs template from a string and get an AST from glimmer?
-
what do you want to do with it?
-
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 -
-
-
How good are you at consistent inputs?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
This is huge! Amazing work. Once we can hydrate ember data it all comes together!
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.