Created
June 19, 2018 16:02
-
-
Save juliankrispel/911638d8735a4605dd066d22adbfa41a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RenderObservable | |
observable={interval(2000).pipe(startWith(0))} | |
> | |
{({ value, value$ }) => <div> | |
<Number>Value of {value}</Number> | |
<RenderObservable | |
observable={value$ && merge(value$, interval(300))} | |
> | |
{({ value }) => <Number>Value of {value}</Number>} | |
</RenderObservable> | |
</div>} | |
</RenderObservable> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment