Functional Grouped Fibonacci
complete
Shlomi Borovitz
IMHO the example of grouped Fibonacci is complicated for no reason, because it forces imperative programming into RX.
I've create functionally identical (except for shorter interval) observable using only interval, scan and map to achieve the Fibonacci sequence.
Misha Moroshko
complete
Shlomi Borovitz
Not only shorter, it isn't coupled with the timing mechanism (changing the code to fire when the user clicks is simple as possible).
And it is not prone to memory leak from forgetting to return unsubscriber.
Misha Moroshko
Shlomi Borovitz: Thanks a lot for your feedback. It makes perfect sense!
I updated the Grouped Fibonacci example: https://rxviz.com/examples/grouped-fibonacci