Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Support component key #3

@bnorm

Description

@bnorm

Keys are important when dealing with lists:

The initial idea for support is to introduce another annotation @RKey which can annotate any non-lambda parameter. The toString() value of this parameter will be used as the key of the component as long as it is non-null. Something like the following.

@RFunction
fun RBuilder.ListItem(@RKey item: Item) {
  ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions