c143fee849
Modify routerLinkActive to optimise performance by removing unnecessary iteration. By replacing Array.reduce with Array.some, the loop will break when it finds an active link. Useful if used on the parent of a large group of routerLinks. Furthermore, if a RouterLink is active it will not check the RouterLinkWithHrefs. |
||
---|---|---|
.. | ||
@angular | ||
angular1_router | ||
benchmarks | ||
benchmarks_external | ||
e2e_util | ||
payload_tests/hello_world/ts | ||
playground | ||
rollup-test | ||
empty.ts | ||
es6-subset.d.ts | ||
system.d.ts | ||
tsconfig.json | ||
types.d.ts |