Unable to trigger re-render after updating reactive state
Hi.
I'm trying to render a dataframe using the following code:
But only the text field updates, and the dataframe tables don't. I believe it is because the page function isn't being re-rendered.
2 Replies
InputText
accepts a value
keyword argument where value: reactive
. But DataFrame
doesn't. Is that the reason it doesn't rerender?
cc @MaartenBreddels
Okay I got it to work by splitting the page into a input and results componentit should re-render, if you use .value or get() you automatically rerender on a change of a reactive variable. Could you explore a bit more what is going on ? you can always add a print statement to see if the function gets re-executed (a rerender)