This is a simple demo of how to use Application Insights in a single page application (SPA) based on React.
This project uses react-appinsights, and it was bootstrapped with Create React App.
To run it:
yarn install
yarn start
You should also set the REACT_APP_APPINSIGHTS_KEY
environment variable as your
Application Insights instrumentation key, or use a .env
file at the root of this project to do so.