You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when creating a contextual component, we only close over the path of the component, either by reading it from the first param or by getting it from the other contextual component (
Local Lookup needs to know the source as well. For that reason, a COMPONENT_PATH_SOURCE and treat it exactly like COMPONENT_PATH. Then the component hook needs to be updated to use it as source if it gets a component cell.
The text was updated successfully, but these errors were encountered:
For reference, Contextual Components RFC and local lookup is being discussed as part of emberjs/rfcs#124.
Currently, when creating a contextual component, we only close over the path of the component, either by reading it from the first param or by getting it from the other contextual component (
ember.js/packages/ember-htmlbars/lib/keywords/closure-component.js
Line 84 in 75cd6e3
Local Lookup needs to know the source as well. For that reason, a
COMPONENT_PATH_SOURCE
and treat it exactly likeCOMPONENT_PATH
. Then the component hook needs to be updated to use it as source if it gets a component cell.The text was updated successfully, but these errors were encountered: