Release Page: Fix Main Illustration Flash
Opened this issue · 0 comments
Arthi-chaud commented
When using Chrome, on the release page, when the track changes, the illustration in the page header gets reloaded, which causes a flash.
This is caused by the use of usePlayerContext
.
- The flash should not happen
- There should be two hooks: one to get the player state, and one to change it.
- Changes in the player's state should not make the use of the second hook to reload