Skip to content

Conversation

@igor10k
Copy link
Contributor

@igor10k igor10k commented Oct 6, 2025

There is no need to restrict event listeners to only accepting a single argument when custom dispatchers are used.

Besides, dispatch on RemoteEventRecord is already defined as being able to accept multiple arguments. All but the first one were thrown out though.

@igor10k igor10k requested a review from lemonmade October 6, 2025 14:45
@igor10k igor10k changed the title Support for multiple arguments in event listeners Support multiple arguments in event listeners Oct 6, 2025
@igor10k igor10k force-pushed the i10k/support_multiple_args_in_event_listeners branch from 5fb97f2 to 75453e5 Compare October 6, 2025 14:50
@igor10k
Copy link
Contributor Author

igor10k commented Oct 6, 2025

/snapit

@shopify-github-actions-access
Copy link
Contributor

🫰✨ Thanks @igor10k! Your snapshot has been published to npm.

Test the snapshot by updating your package.json with the newly published version:

"@remote-dom/core": "0.0.0-snapshot-20251006145527"

@igor10k igor10k merged commit 2be51e8 into main Oct 6, 2025
6 checks passed
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.

2 participants