Dear All,
Here is a nice / useable example of the above mentioned combination.
This code below describes the whole app. There is no single mutable
variable in the whole client codebase. Anything mutable is a Sodium Cell
.
val pageSelectorWidget = PageSelectorWidget(
Some(noteMoverPage)
:: Some(noteEditorPage)
:: Some(folderReorderPage)
:: Some(
Page("Text Question Create / Refresh",
<.div(textQuestionRefresh.vdom))
)
:: Some(
Page("Link Question Create / Refresh",
linkQuestionsCreateAndRefreshWidget.vdom)
)
:: Some(linkQuestionReviewPage)
:: Nil
).comp()
Cheers
Jozsef