Skip to content

passing JSX element into JsonView crashes browser #49

Description

@Brodan

I am trying to figure out a way to add a hyperlink to a field inside my JsonView so that the user can click out to it. I was testing by passing in a basic object:

const tmp = {
    a: <a href="https://www.google.com">Google</a>,
};

return (
    <JsonView data={tmp} />
);

This results in my browser completely crashing. Is there any possible way to render a hyperlink inside my JSON?

Thanks!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions