machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

Breaks with Glimmerjs #295

Closed rmzr7 closed 5 years ago

rmzr7 commented 7 years ago

Emblem only works with ember but not glimmer

thec0keman commented 7 years ago

That's a great point. GlimmerJS introduces a new syntax for components, and Emblem does not support this. There was some initial work on angle bracket components a year ago, but that was stopped when it became clear Ember had not settled on a syntax.

I don't think it would take a lot to support the GlimmerJS syntax. Do we know if Ember is planning on using a similar syntax?

auvipy commented 7 years ago

ember will gradually adapt changes from glimmers eventually

thec0keman commented 7 years ago

CC @machty what do you think?

thec0keman commented 7 years ago

FWIW this RFC outlines some of the areas of convergence and divergence of Ember and Glimmer.

machty commented 7 years ago

Confirm, a lot of the details will be fleshed out in that RFC; I'd be happy to make the necessary Emblem changes as things solidify more :)

thec0keman commented 7 years ago

Sounds good! I'm willing to help out too, just been hesitant to start until the API is ready.

thec0keman commented 6 years ago

FYI on master this syntax should be working. Would be great to test and confirm

thec0keman commented 5 years ago

I'm going to close this for now. The test suite has several examples of glimmer components. I'm not sure if we are 100% to full glimmer support, but if not we are close!