Click in order · Angular course · Module 10: State Management
Updating state in a signal
Click the elements in order to build a call that updates a signal with a new value (adding an item to a list):
Items to click
- .
- (list => [...list, samurai])
- update
- this.samurais
You can check the correct answer by solving this task in the CodeWorlds game.