TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Why is appending to the innerHTML property bad?
4 points
by
lucgommans
12 days ago
1 comment
lucgommans
12 days ago
Collapse
I knew changing innerHTML had some side effects, but this answer shows just how many corner cases it causes and offers a drop-in replacement at least for appending. Thought other developers on this site would also be interested to learn this
评论 #43957619 未加载