|
|
|
|
|
by MatthewPhillips
5236 days ago
|
|
A compiled function only gives you a really fast string creator. It doesn't make the innerHTML call any faster than it is (which is really fast, but slower than the DOM). You can also use cloneNode to cache frequently reused DOM snippets. |
|
I'm trying for a few months now to remove the last innerHTML bits of pure.js and haven't figured out a way yet to make it as fast.