Skip to content

Glossary: React Native

Spread (...)

Also written: spread syntax, three dots

The three dots copy an object's or array's properties into a new one, such as `{ ...line, qty: 2 }` or `...Platform.select(...)`.

Where the book teaches it

Related terms

Platform.OS, Platform.select