Skip to content

Instantly share code, notes, and snippets.

View adamwdennis's full-sized avatar
🤖
Learn, learn, learn

Adam Dennis adamwdennis

🤖
Learn, learn, learn
View GitHub Profile
@adamwdennis
adamwdennis / update-objects.tsx
Last active May 18, 2022 12:24
Comparing two objects for additions, deletions, and updates.
const existingFields = [
{
id: "1",
name: "",
value: "6.2%",
related_id: "1",
},
{
id: "3",
name: "",