Skip to content

Instantly share code, notes, and snippets.

@bjorngi
Created March 14, 2019 09:50
Embed
What would you like to do?
// Two requests
const req1 = [{
id: 1,
data: 'data',
}, {
id: 2,
data 'data2',
}]
const req2 = [{
id: 2,
data: 'cachedData'
}]
// Should theese two become this?
const output = [{
id: 1,
data: 'data',
}, {
id: 2,
data 'cachedData',
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment