This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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