-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Reduce size by golfing down some pieces 🏌️♂️ (-39 B) #1578
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Omg Andre is at it again 👍 💯 I'm always super impressed with your golfs. 🥇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember being told that the bytes are scared of you, proved it again :D Nice job!
The last commit broke two tests regarding |
I'm looking at it now |
Reverted the commit and merged in master. Travis should be green now. |
Thanks @developit for the suggestion! Co-Authored-By: andrewiggins <459878+andrewiggins@users.noreply.github.com>
This reverts commit 1baa6bb.
f9257ca
to
ed15863
Compare
FYI: Just rebased the PR against |
Summary:
9f6f0fa Move all component diff'ing logic into component diff condition (-6 B)
b547990 Remove
dom
parameter fromdiff()
(-11 B)8928b2f Golf createContext (-6 B)
1f7002b Remove unnecessary code from
diffChildren
(-16 B)1baa6bb Simplify originalDom check (-4 B)(broke some hydration tests)Total: -23 BTotal: -43 BTotal: -39 B