Skip to content

What about converting JSX to JSONX ? #386

@asgeo1

Description

@asgeo1

It's really neat that this library allows React components to be rendered from JSON.

But what about going the other way? i.e. starting with JSX and converting that to JSONX syntax?

I have this idea where a user writes some JSX code (perhaps in web-based GUI), and then I'd like to serialize it to JSONX, so it can be stored in a database. Then I'd be able to send it via an API to some other app, where it can be translated back to JSX and rendered.

is that possible with this or any other library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions