Example of a Shiny app with a React front-end
git clone https://github.com/glin/shiny-react-example
cd shiny-react-example
npm install
- Run the Shiny app in development mode (with live reloading enabled)
npm start # or run main.R in an R console
- Run Webpack dev server (with hot reloading enabled)
npm run dev
- Build the React app in production mode
npm run build
- Run the Shiny app