Tom Coleman
Tom Coleman
Hi @consultio-consultius - that is a strange one, to be sure. I haven't ever seen that issue and can't really explain it. If I was you, I'd try the following...
@cmather - I think we are still waiting on [Enable dynamically scoped helpers on components, with restrictions](https://meteor.hackpad.com/Blaze-Proposals-for-v0.2-hsd54WPJmDV#:h=Enable-dynamically-scoped-help) -- but in the meantime perhaps we can do something like this: ```...
We've also discussed both the helper and the data issue being solved by more flexibility in Blaze. I can probably live with waiting for that, but we should definitely keep...
@cmather - I foolishly didn't record what we decided here. Was it that we'd make `setData` take a copy to compare with?
I'm trying to figure this one out. Does it not make sense for `yield` itself to call something like `findComponentWithProp('data', self)` to find the closest parent component that has data,...
( the first bit being similar to what `{{..}}` does in `ui/fields.js` )
@cmather I added a failing test for this to the 1-inherit-data branch (shall I just pull this into dev?) I think it's basically impossible to achieve this however. Here's my...
@cmather I just pushed another test and a "fix" to 1-inherit-data which serves my purposes. It's very much related to the problem here. Here's the test case: https://github.com/EventedMind/blaze-layout/blob/1-inherit-data/layout-test.html#L67-L73 Can you...
Yes. That's what I figured from inspecting the component heirarchy. Thanks for explaining how it happens behind the scenes :) I see @avital literally just posted to core about it,...
Actually this isn't true! It compiles to something like ``` return Spacebars.TemplateWith(function () { return { template: 'MyasterLayout' }; }, UI.Block(function () { return this.__content; })); ``` And `TemplateWith` is...