Skip to content

v0.8.0

Choose a tag to compare

@willybrauner willybrauner released this 13 Apr 20:04
· 46 commits to main since this release

#23

Breaking changes

  • remove constructor in component declaration. init() method is automatically called in Component constructor.
  • remove this.components property

Add child/children components :

  public header = this.add(Header)
  • remove this.elements properties
  • change add() method params order
add<T = Component, P = TProps>(
    classComponent: TAddComponent,
    props?: P,
    returnArray?: boolean,
    attrName?: string
): T;
  • Remove updated() method