-
Notifications
You must be signed in to change notification settings - Fork 4.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
@wordpress/components
: add local copy of use-lilius
#65097
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @its-danny. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
cc @its-danny |
Size Change: -500 B (-0.03%) Total Size: 1.78 MB
ℹ️ View Unchanged
|
Do we know what "lilius" actually means? 🙂 Maybe we should rename it to something less poetic like |
@jsnajdr it's just a reference to this guy; |
No strong preferences on the hook name on my side, we can go with whatever folks prefer. |
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.
No strong opinion about the naming either, but I lean towards keeping it useLilius
for the time being because in my head it is still a "proper noun" external library 😂 It would probably also be easier to get to any docs or resources about it on the web.
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.
lgtm, though we might want to leave a note to more explicitly explain why we keep a local fork and to link to the original discussion for future reference.
1ede250
to
903ab49
Compare
Thank you for the reviews! Let's keep |
Thanks for taking it home, folks, and especially @its-danny for reaching out proactively 🙌 |
What?
Use a local copy of the
use-lilius
library, instead of consuming the npm dependencyWhy?
As discussed in #64968 (reply in thread), the
use-lilius
third-party library is no longer maintained, and we decided to keep a local copy of it.How?
package-lock.json
Testing Instructions
DateTime
-related components work as before