Home

Awesome

Markwhen view client

Usage

import { useLpc } from "@markwhen/view-client"

const { postRequest } = useLpc({
  markwhenState(ms) {
    // When there is some state change from the editor
    console.log(ms)
  }
  appState(newState) {
    // When the app state changes (dark mode, hovering event, selected event, etc)
    console.log(newState)
  }
})

Changelog

1.4.4

1.4.3

1.4.2

1.4.1

1.4.0

1.3.0

1.2.1

1.1.1

1.1.0