Is it possible to access the transactions from handleDOMEvents events directly?

I’m wondering if there’s any way to directly modify the the tr before it’s dispatched rather than only being able to create a new one.

No, that’s not possible. handleDOMEvents, the way it is defined, has nothing to do with transactions. Some of the built-in event handlers allow further customization through props. Mutating transactions dispatched by other code is not generally something that is safe or possible.

1 Like

Thank you for your reply @marijn.

If possible, as a possible future development, I feel that the ability to at least set metadata on these transactions would be a valuable addition.