Closed bennidhamma closed 6 years ago
we are regenerating a playlist via redux that ends up being identical contents, just a fresh object.
seems reasonable to do a deep comparison here, instead of a shallow equality test.
otherwise this code resets the player mid stream for us if that playlist prop gets touched.
Nice, thank you for this!
my pleasure! happy to give back!
we are regenerating a playlist via redux that ends up being identical contents, just a fresh object.
seems reasonable to do a deep comparison here, instead of a shallow equality test.
otherwise this code resets the player mid stream for us if that playlist prop gets touched.