Using DOMContentReady considered anti-pattern by Google

后端 未结 7 2141
广开言路
广开言路 2020-12-08 05:20

A Google Closure library team member asserts that waiting for DOMContentReady event is a bad practice.

The short story is that we don\'t want to wai

相关标签:
7条回答
  • 2020-12-08 05:49

    If you need to dispose your HTML on your own, Googles approach seems very awkward. They use the compiled approach and can waste their brain-cycles on other issues, which is sane given the complex ui of their apps. If you head for something with more relaxed requirements (read: almost everything else), maybe it's not worth the effort.

    It's a pity that GWT only is talking Java, though.

    0 讨论(0)
提交回复
热议问题