Jumping from regular old js with ang1 to ang2 with typescript and redux etc is a heck of a steep climb.
Could anyone offer a simple explanation to the ... syntax? Having come from a php and javascript background this is really new stuff.
http://blog.ng-book.com/introduction-to-redux-with-typescript-and-angular-2/#deleting-an-item-without-mutation shows this as an example with redux:
return {
messages: [
...state.messages.slice(0, idx),
...state.messages.slice(idx + 1, state.messages.length)
]
But does anyone have an uber simple example for a complete noob to this area? Feels like i'm going round in circles!