Skip to content

The loader when in node land does nothing, can we teach it to put link/script tags in the DOM? #73

@Duder-onomy

Description

@Duder-onomy

Hey,
I am having an issue with lazy engines + fastboot resulting in a FOUC.

So far, I have nailed it down to 2 issues,

  1. This code from ember engines will always return true in fastboot... not sure how to fix that one. Ember engines router extension will never load lazy engine files during fastboot ember-engines#564
  2. Ember Asset Loader does nothing in node land/fastboot. So even if we were to fix that first bit, ember asset loader would not load the async engines css and js anyways.

I propose we teach each loader how to load itself in the browser and in node land.
In node land, it would just append a script/link tag to the dom.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions