# Can-stache-bindings with can-import issue

**URL:** <https://forums.bitovi.com/t/can-stache-bindings-with-can-import-issue/681>\
**Category:** CanJS\
**Created:** [July 6, 2017, 7:00am UTC](https://forums.bitovi.com/t/can-stache-bindings-with-can-import-issue/681 "2017-07-06T07:00:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fp\_dev](https://avatars.discourse-cdn.com/v4/letter/f/13edae/32.png) [@fp\_dev](https://forums.bitovi.com/u/fp_dev)\
**Post date:** [July 6, 2017, 7:00am UTC](https://forums.bitovi.com/t/can-stache-bindings-with-can-import-issue/681/1 "2017-07-06T07:00:01Z")

</div>

HI everybody,

I have a problem with a progressive loading using can-import in a stache template.  
The `{^to-parent}` live binding don’t works (the other binding, like the two-way, work correcly).

Here is the situation:

// inside a context I cannot bind the **name** prop of the child **mycomponent**  
`<can-import from="component/mycomponent/mycomponent"> <my-component {^name}="componentName" ></my-component> </can-import>`

the **name** prop is declared inside the mycomponent viewModel also with a default value.

Any idea?

Note: if using the import/require method in the module ( `import "component/mycomponent/mycomponent"` instead of the `<can-import from... >` ), instead it works.

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![justinbmeyer](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/justinbmeyer/32/179_2.png) [@justinbmeyer](https://forums.bitovi.com/u/justinbmeyer)\
**Post date:** [July 6, 2017, 2:42pm UTC](https://forums.bitovi.com/t/can-stache-bindings-with-can-import-issue/681/2 "2017-07-06T14:42:20Z")

</div>

You might need `{^name}="../componentName"` to skip over the scope of the `can-import`.

`{^name}="componentName"` is probably trying to set `componentName` on the promise provided by `<can-import>`

---

<div class="post-metadata">

**Author:** ![fp\_dev](https://avatars.discourse-cdn.com/v4/letter/f/13edae/32.png) [@fp\_dev](https://forums.bitovi.com/u/fp_dev)\
**Post date:** [July 6, 2017, 6:54pm UTC](https://forums.bitovi.com/t/can-stache-bindings-with-can-import-issue/681/3 "2017-07-06T18:54:27Z")

</div>

Thank you! It is correct! Awesome
