Drupal8: Can't add JS resources to footer
This manifests most obviously with Shoreditch - some JS is intended to load in
page-footer and fails.
This was first documented as CRM-21374(https://github.com/civicrm/civicrm-core/pull/11504#issuecomment-356837051), which was closed with a quick fix.
Fixing this requires an understanding of D8 Services, which I don't have. It seems like the
CivicrmPageState class needs a different data structure for
$js. Whether that's a separate
$jsFooter property or a multidimensional array I'm not sure.