-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Adds & uses hoverintent component #47269
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~310 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~1400 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
7d25995
to
df8fabb
Compare
df8fabb
to
1ca22ed
Compare
@scinos are there any hesitations regarding the new package added? |
Indeed, would it be better if we just rewrote that file on our own? |
That sounds like a good idea, since:
|
Another option is to instruct Yarn to force @scinos is the expert on Yarn-related things. I'm not even sure if this forced resolution is a good idea. Just putting an extra option on the table. |
I share the same concerns about bringing in
|
Not much to add to what folks already added here, but I agree we very much should avoid bringing another version of React on the table. Forking it and bumping the React dependency shouldn't be a big deal, because as Jarda pointed out, the React lifecycle methods used in this package should be fully compatible with the ones in a newer React version. |
Thanks everybody for chiming in! |
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've left some drive-by nits in case you find those helpful 😉
I ran prettier on the readme file. [fix/flyouts-hoverintent fb33741] Run prettier on the README file |
Just noting that I tested this as per testing instructions and from a functional perspective it's working nicely as intended. |
I have addressed all feedback, I can't imagine what I would do without you all ❤️, THANKS! |
Below it says " Check code style (Calypso) — TeamCity build failed " failed, but I see no difference in the output of |
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.
This is working well for me. ✔️
Build on #47238
Changes proposed in this Pull Request
client/layout/sidebar/expandable.jsx
sensitivity
,interval={ 90 }
,timeout={ 200 }
are the same as in wp-admin?flags=nav-unification
in URLTesting instructions
?flags=nav-unification
in URLFixes #46094