Closed fahad19 closed 6 years ago
This function should decide whether to stream further or not.
shouldUpdate((prevProps, nextProps) => true);
Based on the Boolean return value from the provided function, the Observable will decide whether to emit new values or not.
distinctUntinChanged operator in RxJS will come handy.
distinctUntinChanged
See existing implementation of map function for inspiration.
map
This function should decide whether to stream further or not.
Expected API usage
Based on the Boolean return value from the provided function, the Observable will decide whether to emit new values or not.
Tip
distinctUntinChanged
operator in RxJS will come handy.See existing implementation of
map
function for inspiration.