Skip to content

Turn json into page #290

Answered by ankri
seananth asked this question in Q&A
Discussion options

You must be logged in to vote

You can take the JSON and render inside an <Editor /> that is disabled. Like in the basic example.

In my project I use a view with an enabled <Editor /> and a separate view without all the editor stuff (like settings, toolboxes etc.) and render a disabled <Editor />.

That being that, this is not the same as suggested in #42. We still have a larger footprint because we need to load all the components inside the resolver (although we could analyze the JSON first and only load the needed components) and we could not do SSR. But... it works :-)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by seananth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants