PaulC91 / shinyauthr

R package with shiny authentication modules
https://paulc91.github.io/shinyauthr/
Other
428 stars 81 forks source link

Fix usage of `shinyjs` closes #47 #48

Closed michael-dewar closed 3 years ago

michael-dewar commented 3 years ago

This PR replaces the js$... calls with shinyjs::js$.... This change means the app using shinyauthr does not need to call library(shinyjs).

At the same time, loginUI now calls shinyjs::useShinyjs() and so there is no need for the main app to do so. This should simplify things for app developers.