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

docs(identity): add identity docs #6750

Merged
merged 2 commits into from Jan 12, 2022

Conversation

jakovljevic-mladen
Copy link
Member

Description:
Now that #6734 is merged, accessing to identity page is much more likely since <code> tags contain references to it. It's time to document it.

image

Related issue (if exists):
None

* next: console.log
* });
* ```
*
Copy link
Member

@benlesh benlesh Jan 11, 2022

Choose a reason for hiding this comment

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

One of the main use cases I personally have for this is with a ternary to selectively apply an operator:

source$.pipe(
  condition ? mergeMap(doSomething) : identity
)

It would be nice to have an example of that.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll add.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added (though, as the second example). If you'd like this example to be the first one, I can swap them.

@benlesh benlesh added 7.x Issues and PRs for version 6.x 8.x Issues and PRs for version 8.x labels Jan 12, 2022
@benlesh benlesh merged commit 6d8b991 into ReactiveX:master Jan 12, 2022
@jakovljevic-mladen jakovljevic-mladen deleted the add_identity_docs branch January 12, 2022 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.x Issues and PRs for version 6.x 8.x Issues and PRs for version 8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants