Glossary: Angular Beyond the Basics
Spread syntax
Also written: spread, { ...s }
`{ ...s, filter }` copies every field of `s` and then replaces `filter`. It's how stores make immutable updates.
Glossary: Angular Beyond the Basics
Also written: spread, { ...s }
`{ ...s, filter }` copies every field of `s` and then replaces `filter`. It's how stores make immutable updates.