Skip to content

Conversation

@henryqdineen
Copy link
Contributor

What changed / motivation ?

When working on #1290 I noticed the Object.entries().filter(Boolean) which seemed redundant as entries will always be truthy. It looks like the functionality that gave removeObjectsWithSpreads() its name was removed in #884. For this PR I chose to just inline the Object.fromEntries(Object.entries()) call to preserve behavior but it doesn't look like anything specifically relies on the object being shallow cloned. Let me know if i'm missing something obvious. Thanks!

Pre-flight checklist

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants