repetere/jsonx

Preview jsonx definition in a React App

marcel-tabara opened this issue · 0 comments

What would you recommend to preview a jsonx definition in a React App?

Let's say my react app returns a Home functional component with some layout, and on this page I want to preview a jsonx definition of a functional component.

jsonxRender does the job in the browser, but how would I make my Home component to return the functional component from jsonx definition.