Can i get view.composing in state plugin?

new Plugin({
...
state: {
    ...
    apply: (tr) {
        const view = getEditorView()
        console.log(view.composing)
    }
},
...
})

Can we dispatch the apply method when composition ends, and set view.composing to false? My current workaround is listen to the compositionend events, and dispatch with setMeta using the latest transaction my self.

No — composing is tracked in the view, and state updates do not have access to that.