Skip to content

Cannot stringify arbitrary non-POJOs PublicClientApplication #3

@jenmcg

Description

@jenmcg

I am getting this error: Cannot stringify arbitrary non-POJOs PublicClientApplication

It's not liking the useState composable being used with something that returns functions and isn't serializable.

Stated in the docs:
Because the data inside useState will be serialized to JSON, it is important that it does not contain anything that cannot be serialized, such as classes, functions or symbols.

How do I get around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions