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

Opposite direction? Exporting htmlwidgets::saveWidget() as a Component for external React application? #64

Open
apolinario opened this issue Jun 18, 2021 · 1 comment

Comments

@apolinario
Copy link

Hi everyone, reactR is a fantastic library that I stumbled upon while searching for the use case mentioned in the title. I'm not sure whether or not I can do it with this lib, if I could, I didn't manage get a sense of how; it seems that I can import React components into the htmlwidgets structure, but not the opposite. Let me know if I'm wrong and it is actually possible.

If not, I'll leave this as a suggestion: a way to generate an output with htmlwdigets that can be imported in React, in case you are potentially interested in offering this reverse direction in the future for the library. Also, if there's a known way of doing this I'd be grateful to learn

Thanks for the lib and in advance for any help!

@timelyportfolio
Copy link
Collaborator

Sorry for very long and delayed reply. I love this idea and have various experiments over the years to do just this. I'll try to find them and see if we can coalesce into a solution. Thanks!!

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