Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In React-Native, '...' is the spread operator, also called the rest parameter. It is used to spread the elements of an array or object literal. This allows for concise and efficient code by allowing you to quickly add or remove elements without having to manually specify each one. It is commonly used in components to pass all props down to child components or to merge objects with existing ones.