-
|
I'm trying to use the react interface for some UI elements which requires creating them in the server and using reactOutput in the UI. A very simple example of that works, but as soon as I try to call one module from inside another, it doesn't work. I'm not sure if this is a namespace issue with the way I am using modules or if this is an issue with nesting shiny.react stuff. This works: But the following doesn't, trying to put the slider inside a Panel, which is also rendered on the server side. I've tried every combination of calling ns("id") on different things, putting mod_slider_server in different places, et cetera that I can think of. Is this possible to do? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @zilch42, thanks for your question! The problem is due to Appsilon/shiny.react#21 - nested React outputs don't work currently. As a workaround, you can change your slider module to use |
Beta Was this translation helpful? Give feedback.
Hi @zilch42, thanks for your question! The problem is due to Appsilon/shiny.react#21 - nested React outputs don't work currently. As a workaround, you can change your slider module to use
uiOutput()andrenderUI()- it should work.