svelteR
allows you to use Svelte components in your Shiny applications. It was inspired by reactR and vueR.
Right now svelteR
is experimental, thus subject to change.
You can make input bindings and output bindings.
I don't make any claims regarding robustness yet nor is there much documentation. These are on the to do list.
You can install the development version of svelteR from GitHub with:
# install.packages("devtools")
devtools::install_github("asbates/svelteR")
An example Svelte component input is included in the package (?svelteButton
).
An example output component is included in the package as well (?svelteList
).
And an example Shiny application using these components is included in /app.R
.