marcog83 / RoboJS

RoboJS is a library that aims to dynamically load JS modules depending on how the DOM is composed.
MIT License
134 stars 4 forks source link

slow connection :: Mediator script is downloaded and executed after node has been removed from DOM #19

Closed marcog83 closed 6 years ago

marcog83 commented 6 years ago

If internet connection is slow, you can

  1. require script from network...
  2. remove node from DOM before download finished

When Mediator is invoked, node is not in DOM anymore :(