Skip to content

Expose API to hook into renderer instance

Compare
Choose a tag to compare
@thetutlage thetutlage released this 05 Sep 08:25

The Edge.onRender method will allow to hook into the renderer instance and maybe share local variables before any template gets rendered.

edge.onRender((renderer) => {
  renderer.share({  key: value })
})

Commits

  • feat: add support to hook into edge renderer instance 2de6d6a
  • chore: update dependencies bd00b98

v5.4.0...v5.5.0