Why is documentFragment no faster than repeated DOM access?

前端 未结 0 641
隐瞒了意图╮
隐瞒了意图╮ 2021-02-15 02:07

I was always under the impression that rather than touching the DOM repeatedly, for performance reasons, we should use a documentFragment to append multiple element

相关标签:
回答
  • 消灭零回复
提交回复
热议问题