05e1b3b312
Before this refactoring native node `classList` / `style` properties were read even if not used. The reason for this was desire to avoid code duplication between procedural and non-procedural renderers. Unfortunatelly for the case which will be used by most users (a procedura renderer) the `classList` / `style` properties were read twice, making the `setStyle` \ `setClass` functions the most expensive ones (self time) in several benchmarks (large table, expanding rows). This refactoring adds a bit of code duplication in order to get better runtime performance. The code duplication will be removed when we drop checks for a procedural renderer. PR Close #32716 |
||
---|---|---|
.. | ||
schematics | ||
src | ||
test | ||
testing | ||
BUILD.bazel | ||
PACKAGE.md | ||
index.ts | ||
package.json | ||
public_api.ts |