Skip to content

Browser and demo #3

@benoitwimart

Description

@benoitwimart

It's look like something great but how to use it on browser ?
I would like to make a undo/redo on an object, there is information but a real example (codepen or another) could be precious.

const past = [1, 2, 3]
const future = [1, 2, 3, 4]

const present = diff(past, future)

const future = Array.from({ ...past, ...present.do })

Not clear.

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