Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd element to Shiny input #41
Conversation
|
|
@glin I have tested with The |
|
@timelyportfolio Confirmed, all looks good here! |
Normally in React this would be not be considered best practice but in the case of Shiny we know that element is stable across a session.
Also, many of the npm dependencies are out-of-date, so potentially at the risk of confusing this with that, went ahead and upgraded all npm dependencies. JS tests all passed.
https://github.com/react-R/reactvega/blob/master/srcjs/reactvega.jsx is an example usage of new functionality that allows us to add the
elid to our Shiny input value for the purpose of referencing in Shiny withobserve/observeEvent. I don't think there is any other way to accomplish otherwise.