Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: reintroduce smosh, add docs to selections #1192

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

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

BioPhoton
Copy link
Member

No description provided.

@nx-cloud
Copy link

nx-cloud bot commented Feb 3, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 0b1bda8. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

πŸ“‚ See all runs for this branch


πŸŸ₯ Failed Commands
nx affected:test --parallel --maxParallel=3
βœ… Successfully ran 1 target

Sent with πŸ’Œ from NxCloud.

@github-actions github-actions bot added { } State @rx-angular/state related πŸ“– Docs API Documentation in the source code πŸ›‚ Test Unit tests, e2e tests, integration tests, test coverage labels Feb 3, 2022
Copy link
Member

@edbzn edbzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need this smosh operator to reduce the number of view subscriptions!

Copy link
Member

@edbzn edbzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think @BioPhoton about moving the second parameter to the third named parameter, for instance, it's easier this way:

smosh(
  {
    prop1: cold('h-h-i-i-i-i-i', { h, i }),
    prop2: cold('_-a-a-_-b-_-b', { _, a, b }),
    prop3: cold('f-f-f-f-f-t-t', { f, t }),
  },
  undefined, // having to pass undefined or [] is not intuitive
  { durationSelector: cold('s') }
);
smosh(
  {
    prop1: cold('h-h-i-i-i-i-i', { h, i }),
    prop2: cold('_-a-a-_-b-_-b', { _, a, b }),
    prop3: cold('f-f-f-f-f-t-t', { f, t }),
  },
  { durationSelector: cold('s') }
);
smosh(
  {
    prop1: cold('h-h-i-i-i-i-i', { h, i }),
    prop2: cold('_-a-a-_-b-_-b', { _, a, b }),
    prop3: cold('f-f-f-f-f-t-t', { f, t }),
  },
  { durationSelector: cold('s'), spreads: [prop$] }
);

@BioPhoton
Copy link
Member Author

I like it @edbzn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core team meeting πŸ“– Docs API Documentation in the source code { } State @rx-angular/state related πŸ›‚ Test Unit tests, e2e tests, integration tests, test coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants