Skip to content

prism.effect() warning spam when using useVal #501

@ivoilic

Description

@ivoilic

I've got a really basic setup with theater in react and I'm using useVal function to get some values from a sheet. My console is full of the warning: "prism.effect() does not run in cold prisms Error Component Stack" that seems to be coming from theuseVal.

As someone who is not using the dataverse package explicitly, having this warning about something internal to the hook coming from that package is confusing.

If there is an issue with my usage of the hook I'd love to know and happy to contribute to the docs, if this is something internal that I can ignore it would be great to get the warning silenced.

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