Hyperscript: fix #1773, fix #2172 #2174
The docs and change log will follow here.
See the respective issues for a detailed discussion.
How Has This Been Tested?
The test suite was adapted,
The benchmarks (improved a bit to cover class merging) were run in Chrome, Safari and Firefox (desktop). No difference was noticed (though the variance from run to run was high even though the standard error on the mean was always ~1% or 2%).
Types of changes
Actually, re-using the
It will first set the className to
There are two possible solutions:
…attrs code to reduce variance, reset the scratch pad more reliably