Skip to content

Get object of changed properties only #130

@OliverJAsh

Description

@OliverJAsh

Given a

{
  "style": {},
  "innerHTML": ""
}

and b

{
  "style": {},
  "innerHTML": "foo"
}

I want an object that represents only the changes between the two, a and b:

{
  "innerHTML": "foo"
}

Is this possible or do I need to write something that traverses the diff?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions