Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

i/6145: Replaced the getResizeObserver() helper with the ResizeObserver class#320

Merged
panr merged 5 commits intomasterfrom
i/6145
Feb 6, 2020
Merged

i/6145: Replaced the getResizeObserver() helper with the ResizeObserver class#320
panr merged 5 commits intomasterfrom
i/6145

Conversation

@oleq
Copy link
Copy Markdown
Member

@oleq oleq commented Jan 28, 2020

Suggested merge commit message (convention)

Other: Replaced the getResizeObserver() helper with the ResizeObserver class for performance reasons. Closes ckeditor/ckeditor5#6145.

MINOR BREAKING CHANGE: The getResizeObserver() helper is no longer available. We recommend using the ResizeObserver class instead.


Additional information

Requires:

@coveralls
Copy link
Copy Markdown

coveralls commented Jan 28, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling fbd42ea on i/6145 into e63b7b7 on master.

@Reinmar
Copy link
Copy Markdown
Member

Reinmar commented Jan 28, 2020

OK, from the code perspective this change looks good. There are 3 minor issues that I spotted. I leave the rest to you, @panr. Please verify how does it affect the case that you have, guys. And if all's fine and you like the implementation, you can merge those two PRs.

@Reinmar
Copy link
Copy Markdown
Member

Reinmar commented Jan 28, 2020

PS. I updated the merge message. It's a minor BC to me so I wanted to make that explicite.

oleq and others added 3 commits January 29, 2020 10:04
Co-Authored-By: Piotrek Koszuliński <pkoszulinski@gmail.com>
Co-Authored-By: Piotrek Koszuliński <pkoszulinski@gmail.com>
@panr
Copy link
Copy Markdown
Contributor

panr commented Feb 6, 2020

LGTM 👌 Merging it.

@panr panr merged commit 05c97f8 into master Feb 6, 2020
@panr panr deleted the i/6145 branch February 6, 2020 14:26
panr added a commit to ckeditor/ckeditor5-ui that referenced this pull request Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the getResizeObserver re-use a single observer instance for performance reasons

6 participants