Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

v2.0.0

Choose a tag to compare

@JakeGinnivan JakeGinnivan released this 02 Sep 08:27
cf7dc32

2.0.0 (2019-09-02)

Features

  • Add composition middleware support (b23251b), closes #1

BREAKING CHANGES

  • Composition render function signature has changed, contentAreas and props have been separated into two different arguments.
    Before: ({ contentAreas, props}) =>
    After: (contentAreas, props: ComponentProps) =>
    Notice the type for props has been moved into the render function, this allows for more type inference when registering compositions
  • CompositionRender and ComponentRender have been made private on LayoutApi
    You should always use CompositionsRenderer