Skip to content
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

refactoring: remove obsolete polyfills #6417

Draft
wants to merge 5 commits into
base: next
Choose a base branch
from

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented Oct 29, 2024

Summary

This PR removes a number of polyfills we had in the library that are no longer necessary following the end of IE11 support.

@@ -16,7 +16,6 @@
<script>
import { createSuitMixin } from '../mixins/suit';
import { createWidgetMixin } from '../mixins/widget';
import { _objectSpread } from '../util/polyfills';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is for babel in Vue InstantSearch, not for ie11

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember well why we resort to this, does the build fail if we use native object spreading in the codebase for Vue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it was something along those lines, but if it works feel free to change

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright! I'll check this once I've merged FX-3053 into this branch.

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