bobby569 / Foodie

Never stop eating!
0 stars 0 forks source link

(Low-priority) Any optimization on add/remove tags? #37

Open bobby569 opened 6 years ago

bobby569 commented 6 years ago

Low-priority: can try to fix this if we have time left

If looking at the handleAdd and handleRemove function in Profile.js, both are directly using $set to update the whole list of tags. Just wonder whether there is a better way to implement it?

bobby569 commented 6 years ago

Might take api/recipes.method.js as reference