interaction@0.5.0
Breaking Changes📦 remixView on GitHub →
⚠ 2 breaking🔧 2 symbols
Summary
This minor release introduces a breaking change by removing the `onError` option from `createContainer` and the `raise` method from the `Interaction` interface, altering error handling mechanisms.
⚠️ Breaking Changes
- Removed the `onError` option from `createContainer`. Errors thrown in event listeners now dispatch an `ErrorEvent` on the target element with `bubbles: true`, allowing them to propagate up the DOM tree.
- Removed the `raise` method from the `Interaction` interface.
Migration Steps
- If you were using the `onError` option in `createContainer`, you must now listen for `ErrorEvent` on the target element.
- If you were calling the `raise` method on an `Interaction` object, you must find an alternative way to signal errors, as this method has been removed.