Skip to content

Breaking change of key type #73

Closed
rescript-lang/syntax
#693
@mununki

Description

@mununki

In JSX V3, the key type was optional. So, this expression was possible:

let key = Some("k")
<C ?key />

But, JSX v4 throws a type error.

this type is option<string> , expected string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions