Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Componification of json.human.js #38

Open
dbrrt opened this issue Sep 6, 2017 · 1 comment
Open

Componification of json.human.js #38

dbrrt opened this issue Sep 6, 2017 · 1 comment

Comments

@dbrrt
Copy link

dbrrt commented Sep 6, 2017

It would be nice to have like a HOC Component that Renders the JSON under sub components using modern framework/ui libraries such as vue, react, ember etc...

Do you think that I can be a feature of this library, or a sort of wrapper would be required to make this feasible?

@marianoguerra
Copy link
Owner

if you change the document.createElement for React's createElement then you can put the result inside a virtual dom. This will also work for preact and friends.

for the others I don't know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants