Skip to content
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

Refactored some method (object form arguments) #43

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

sergeysova
Copy link
Contributor

@sergeysova sergeysova commented Jun 18, 2020

// before
const $tooBig = some((size) => size > 800, [$width, $height]);

// now
const $tooBig = some({
  predicate: (size) => size > 800,
  stores: [$width, $height],
});

closes #21

@sergeysova sergeysova added the BREAKING CHANGES Some features changes without backward compatibility label Jun 18, 2020
@sergeysova sergeysova mentioned this pull request Jun 18, 2020
14 tasks
@sergeysova sergeysova merged commit b30be88 into master Jun 18, 2020
@sergeysova sergeysova deleted the feat/20-migrate-some branch June 18, 2020 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING CHANGES Some features changes without backward compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add object form for some
1 participant