This example illustrates an AJAX request being made in a component's eval function.
From the root of the Halogen project:
$ npm install
$ npm run example-effects-aff-ajax
Or from the current directory:
$ npm install
$ bower install
$ npm run build
The code will be built as example.js in the examples/ajax/dist directory within the example, runnable by opening the corresponding index.html.