Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Duder-onomy opened this issue Jul 10, 2018 · 0 comments

Comments

@Duder-onomy
Copy link

Duder-onomy commented Jul 10, 2018

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.

@Duder-onomy Duder-onomy changed the title The loader when in node land does nothing, can we teach it to put link/script tags in the head? The loader when in node land does nothing, can we teach it to put link/script tags in the DOM? Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant