RinteRface / shinyMobile

shiny API for Framework7 (IOS/android)
https://shinymobile.rinterface.com
407 stars 74 forks source link

f7LoginServer is not recommended for production. What to use instead? #269

Open udurraniAtPresage opened 2 months ago

udurraniAtPresage commented 2 months ago

I read on the Framework7 login screen documentation that f7LoginServer is not recommended. Alternatively, in a shiny app, I can use something like:

tabsetPanel(
      id = "pages",
      type = "hidden",
      selected = "auth",
      tabPanelBody(
        value = "authentication",
        "<UI for log in>"
      ),
     tabPanelBody(
            value = "content",
            "<App content>"
      )
)

And then in the server part:

observeEvent("<Authenticated user>", {
    updateTabsetPanel(
      session = session,
      inputId = "pages",
      selected = "content"
    )
})

Is there an equivalent in shinyMobile, i.e., something like tabsetPanel that could be hidden? I did not see the type argument in f7TabLayout.