Skip to content
Advertisement

Tag: glimmer.js

Dynamic template arguments for an Ember component

I’ve run into a situation with a glimmer component that renders a LinkTo component within. The issue is that LinkTo treats the case where @model={{undefined}} and the case of omitting the @model argument as 2 different cases. This is because the default value for it is a special value of UNDEFINED. When this happens the component uses JS to make

Advertisement