f7LoginServer is not recommended for production. What to use instead?
Opened this issue · 0 comments
udurraniAtPresage commented
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
.