Open bobby569 opened 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?
handleAdd
handleRemove
Profile.js
$set
Might take api/recipes.method.js as reference
api/recipes.method.js
Low-priority: can try to fix this if we have time left
If looking at the
handleAdd
andhandleRemove
function inProfile.js
, both are directly using$set
to update the whole list of tags. Just wonder whether there is a better way to implement it?