Skip to content

undo/redo() api  #342

@samuelstroschein

Description

@samuelstroschein

Context

Apps want undo/redo.

import { openLix, undo, redo } from "@lix-js/sdk";

const lix = await openLix({});

await undo({ lix });
// or with a specific number of steps
await undo({ lix, steps: 3 });

await redo({ lix });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions