v1.13 Calling a Component from a helper

Is it possible to call a component from a helper? This used to work prior 1,13’s new helper API.

export default function(params, hash, options, env) {
  ...

  return env.helpers.component.helperFunction.call(this, ["my-component"], hash, options, env);
}

But since env is not passed anymore, I have to find some other solution.

1 Like