-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remove mutationobserver shim #457
Conversation
Closes #413 BREAKING CHANGE: MutationObserver is supported by all major browsers and recent versions of JSDOM. If you need, you can create your own shim (using @sheerun/mutationobserver-shim) and attach it to the window.
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3c96e7f:
|
Codecov Report
@@ Coverage Diff @@
## beta #457 +/- ##
===================================
Coverage 100% 100%
===================================
Files 22 22
Lines 412 412
Branches 99 98 -1
===================================
Hits 412 412
Continue to review full report at Codecov.
|
🎉 This PR is included in version 7.0.0-beta.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What: Remove
@sheerun/mutationobserver-shim
from the projectWhy: MutationObserve is supported by all major platforms we're targeting, and people can still add the shim themselves if they need to.
How: Now, we simply retrieve the
window
from the node they give us, and then reference the MutationObserver off of that.Checklist:
docs site N/A
DefinitelyTyped N/A
Closes #413