rstudio / shiny-examples

Other
1.95k stars 3.78k forks source link

Make Superzip shinyloadtest-compatible #179

Closed alandipert closed 4 years ago

alandipert commented 4 years ago

063-superzip-example wasn't compatible with [shinyloadtest]() because of this line of code in DT.

DT would provide a random default outputId, which would make recordings nondeterministic, as this random ID would be embedded in the shinyloadtest recording.

This fix supplies DT::dataTableAjax() an outputId parameter which prevents a random one from being generated. Consequently, recordings of the app can now be played back successfully.

I have a separate PR for DT in the works. Merged DT PR: https://github.com/rstudio/DT/pull/730