Angular 12 days ago
Spread syntax in Angular templates! Use the ... operator in:
โถ๏ธ Object literals: {a: 1, ...foo}
โถ๏ธ Array literals: [1, ...foo]
โถ๏ธ Function calls: fn(1, ...foo)
Itโs powered by Angularโs "pure function" system, ensuring objects aren't re-created unless data changes. Keep it clean, keep it fast! ๐