Skip to content

Use predicates directly #3

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

Merged
merged 1 commit into from
May 21, 2025
Merged

Use predicates directly #3

merged 1 commit into from
May 21, 2025

Conversation

jdeniau
Copy link
Member

@jdeniau jdeniau commented May 21, 2025

Instead of using static method, let's use predicates directly:
static methods are a direct link to those predicates, and il will, when tree shaking is possible (see immutable-js/immutable-js#2105 ), allow to embed directly immutable in this package instead of referencing a global immutable.

@jdeniau jdeniau merged commit a38b8d1 into main May 21, 2025
@jdeniau jdeniau deleted the use-predicates branch May 21, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant