Skip to main content

reactive_output

reactive_output()

Publish a reactive JSON value to the client (the ui.tsx pattern).

Assign to output[id] where a React client reads the value with useShinyOutputValue(). There is no UI placeholder: auto_output_ui() inherits the base implementation, which returns None.

Accepts any JSON-serializable value (dict, list, str, int, float, bool, None), passed through unchanged.