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

Release - v2.2.9 #2984

Merged
merged 9 commits into from
Oct 31, 2024
Merged

Release - v2.2.9 #2984

merged 9 commits into from
Oct 31, 2024

Conversation

JAForbes
Copy link
Collaborator

Release v2.2.9

Changelog

Patch Changes

[refactor] Refactoring of hyperscript.js and render.js, including performance improvements (@kfule)

Refactor hyperscript.js and render.js. In particular, the replacement of fix #2622 appears to have significantly improved the performance regression.

kfule added 9 commits October 31, 2024 00:59
…s with another workaround in hyperscript.js

The input[type] inspection at the beginning of setAttr() was called for each attribute. This had a negative impact on performance. The new workaround in execSelector() controls the order of setting attributes by reordering the keys in attrs.
The isFileInput is needed only when key is "value", so moving the logic into setAttr() would not increase time of calculation. Also, the code outlook improves a bit, of course.
The polyfill doesn't support multiple source objects, and almost all browsers now natively support Object.assign().
@JAForbes JAForbes requested a review from a team as a code owner October 31, 2024 08:01
@dead-claudia dead-claudia merged commit 52f160a into release Oct 31, 2024
7 of 8 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.

3 participants