mercredi 8 mars 2017

How to pass ember computed model data to nested component without querying?

i have nested components. Every component has button to show its nested component.

From controller I pass selectbox options (query on store) through all components. But query is done before final component with selectbox is even shown/drawn. Real query its done at moment of when second component with this property is drawn.

Is there way to not do query till its really needed for selectbox to be drawn ? I did not wanted to have store property straight in nested component itself.




Aucun commentaire:

Enregistrer un commentaire