WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Possible mistake in examples for linked observables #50

@captain-orange2

Description

@captain-orange2

Hello, just a small hint: I think there is a mistake in this part of the documentation:

https://github.com/LegendApp/legend-docs/blob/main/packages/state/src/content/docs/usage/observable.mdx?plain=1#L264

The parameter of the set function should destructure the value since the parameter is an object of type ListenerParams, right?

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