tree: 90cce981b04871ad6a5e9d22dfd7b7536f4b2db8 [path history] [tgz]
  1. public/
  2. src/
  3. .gitignore
  4. package-lock.json
  5. package.json
  6. README.md
example/react-app-example/README.md

Apache Flagon UseraALE.js React Example

This example was bootstrapped with Create React App. It demonstrates UserALE.js autostart configurations and start(), stop() exports.

Using this Example

To use this example, first install dependencies (from this subdir):

npm install

Then run the start script:

npm run start

This will start the React App in “developer mode”, which will open in your browser.

Click the text on the page to execute the UserALE.js start() export and start logging behaviors.

Or, modify App.js in src to experiment with autostart and stop() exports.

Note that you will not receive logs unless you have a logging server running.