hawkins / streamflow

:tv: Watch your favorite Twitch streamers without any downtime
https://streamflow-releases.now.sh/
MIT License
11 stars 3 forks source link

Improve Player to update iframe src when props changes #15

Closed hawkins closed 7 years ago

hawkins commented 7 years ago

Currently, an entire new iframe will be rendered when the selected channel changes. It may be more efficient to simply change the src attribute of the iframe in the Player in order to keep the iframe while changing the URL.