-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove the normalizeFalsyValue util #50033
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.
LGTM 👍
After your explanation I can see some value in what you explained in the normalizeFalsyValue
, it just felt like it's not in the right place. Perhaps we should place it somewhere else though? One potential location to put it could be this README file.
I think given that I think that the behavior of "removing falsy" values which we historically relied upon on global styles is wrong. (Instead we should have reset links), I think it's fine to omit the documentation for now. |
Size Change: -22 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
Addressing a comment here #49750 (comment)
What?
Basically, this util didn't feel like a great one to have as opposed to just inlinining
|| undefined