The repository includes a demo of React.lazy() and the Suspense API, included in React.js since the 16.6 release.
Data for the demo is coming from a Drupal 8 installation.
Run in /backend
:
composer install
Install your site. Generate some article content with Devel generate.
Run in /frontend
:
npm install
npm start