Skip to content

fix: prevent SyntheticEvent pooling warnings in React 16.x#188

Open
ksh5324 wants to merge 1 commit intogloriasoft:masterfrom
ksh5324:fix/react16-synthetic-event-pooling
Open

fix: prevent SyntheticEvent pooling warnings in React 16.x#188
ksh5324 wants to merge 1 commit intogloriasoft:masterfrom
ksh5324:fix/react16-synthetic-event-pooling

Conversation

@ksh5324
Copy link

@ksh5324 ksh5324 commented Jan 1, 2026

#187

This PR prevents SyntheticEvent pooling warnings in React 16.x
when React events are passed outside the React lifecycle through applyReactInVue.

  • Calls event.persist() to disable pooling in React 16.x
  • Passes nativeEvent to Vue instead of the SyntheticEvent wrapper
  • Backward-safe for React 17+
  • No behavior change for existing veaury users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant