126. Passing Ingredients from Recipes to the Shopping List (via a Service)
7:03
2 Kaikōrero
2 Whakahauhau
161 wehenga
Kaikōrero
Whakahauhau
-
0:01Waihoki 1: In the last lecture, we added some ingredients. 300s · Speaker 2
In the last lecture, we added some ingredients. Now I want you to make this to shopping list button work. You can come up with some ideas, some solution on how you can send these items to the shopping list so that once we go to the shopping…
-
5:03
because the push method here is able to handle multiple objects. However, it is not able to handle an array. Or to be precise, it can handle an array, but then it would push this array as a single object to the other array. So by adding the…