So I have a function like this
myNewMap = oldMap.map((check) => {
if (check.get('_id') === against.get('_id')) return check;
});
The only problem is myNewMap is the same size as the oldMap (which makes sense), but is there a way to stop this, or do I need a different approach?
filterit?