Skip to content

Allow $ in identifiers #8094

Description

@cknitt

In JS, an identifier may contain the $ sign.

When using signals, there is the convention to use it to distinguish reactive values like in

const count$ = signal(0);

In ReScript,

let count$ = signal(0)

gives the error

Not sure what to do with this character: "$".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions