The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Using Array ...spread to enforce Pipe immutability.

Using Array ...spread to enforce Pipe immutability.

1:54
Pipes need a new reference or else they will not update their output. In this lesson you will use the Array ...spread operator to create new Array to update pipe output without mutation.
Watch this lesson now
Avatar
egghead.io

Pipes need a new reference or else they will not update their output. In this lesson you will use the Array ...spread operator to create new Array to update pipe output without mutation.

Avatar
kevin

Ugg this is more work and its incredibly difficult and it is different.

Avatar
John

There are libraries that make this much easier, but they aren't built into Angular 2 by default so I showed the "vanilla JavaScript way".

In reply to kevin
Avatar
SMP Web Team

sally forth? lol

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?