Skip to content
Snippets Groups Projects
Unverified Commit f339e61d authored by Todor Kondic's avatar Todor Kondic
Browse files

Introduce modular reactive values/functions concept

Because we decided to split the server and UI definitions into
separate "modules", we also needed to create a way for different
modules to exchange their reactive values and functions.

In this regard, each module is going to have two server-like
functions, react_module-name_f and react_module-name_v, which will
define and return reactive functions and objects, respectively. Each
such function is server-like, i.e. it will take input, output and
session arguments. The two remaining arguments are rv and rf, for the
input reactive values and functions.

* R/shiny-ui-config.R(react_conf_v): New function.
  Add conf-related reactive values.

  (react_vonf_f): New function. Add conf-related reactive functions.

  (server_conf): Update observers.

* R/shiny-ui-top.R(server): Adapt to the new concept.
parent 6e9f3b47
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment