spread operator
Also written: ...
The `...` syntax that copies a list's items into a new list, as in `[...state, newLine]`. It is how a Notifier assigns a new list instead of changing the old one.
Also written: ...
The `...` syntax that copies a list's items into a new list, as in `[...state, newLine]`. It is how a Notifier assigns a new list instead of changing the old one.