Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/react
useTransaction
Function useTransaction
useTransaction
()
:
<
T
>
(
operation
:
()
=>
T
)
=>
T
Runs synchronous viewport mutations as one undo step.
Returns
<
T
>
(
operation
:
()
=>
T
)
=>
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Field Notes home
Docs
Playground
Field Notes
Loading...
Runs synchronous viewport mutations as one undo step.