I cannot find anything online about bound helpers that’s less than the lifespan of your average hamster. The docs mention “stateful helpers” but it’s frankly not clear from either the text nor the example what that’s about. I don’t see anything about the example that “interacts with the rest of [the] application” nor saves state, although my guess is that what is meant is that the helper (or its compute method) will be called whenever the template is re-rendered,passing in whatever new value, etc. A bound helper, iow.
Is this what I’m looking for? I tried it (extending Ember.Helper and overriding compute method) but no charm.
- Is my assumption above correct? (in which case i’ve probably done something wrong)
- How are people dealing with this issue nowadays. (meaning, any time after mid-2014)
- If I’m wrong about #1, what the heck is a stateful helper?
- Whatever you do, don’t select your comment and hit that numbered list widget. Type the numbers out and save your sanity.