emberjs/ember.js

Unreachable code "reached" when trying to render a non-string with the component helper

已關閉

#18,072 建立於 2019年6月4日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (4,216 個分叉)batch import
BugGood for New ContributorsHas ReproductionHelp Wanted

倉庫指標

星標
 (22,437 顆星)
PR 合併指標
 (平均合併 11天 14小時) (30 天內合併 20 個 PR)

描述

Ember Twiddle

Ember Twiddle doesn't let me go above 3.4, but I'm reproducing this on a 3.10 app (during a migration from 2.18).

This is less of a bug and more of something that could have a helpful debug assertion. Maybe something like:

You passed [Object object] to the {{component}} helper, but the component helper only accepts strings or other components.

Along with maybe a log of what that object was.

(This might not be the right repo for this, since it seems to deal with glimmervm internals)

貢獻者指南