This make elm-reactor usable on crappy connections.
Loading external resources blocks page rendering. On a bad connection,
this means having to wait for purely visual enhancements such as fonts
and syntax highlighting before being able to see anything.
This commit loads all external resources last instead. In other words,
first load and display the content, then load the enhancements.
This make elm-reactor usable on crappy connections.
Loading external resources blocks page rendering. On a bad connection, this means having to wait for purely visual enhancements such as fonts and syntax highlighting before being able to see anything.
This commit loads all external resources last instead. In other words, first load and display the content, then load the enhancements.
Fixes #195. Continuation of commit 54437f710.
NOTE: I have not tested this code.
Feel free to close this PR if there’s a better solution; I basically just wanted to get the ball rolling for https://github.com/elm-lang/elm-reactor/issues/195#issuecomment-229576168.