masag0 / DownBeat

Downbeat is a Spotify inspired web application streaming music player-- Ruby on Rails, React, Redux, and PostgreSQL

Home Page:https://downbeat-app.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Navigating between albums doesn't synchronize state and render songs

anastassia-b opened this issue · comments

Currently, site navigation relies on a specific path for the user to follow. The album information has to be fetched prior to song information to correctly display. If the user goes from /albums/1 to /albums/3, the songs for album 3 correctly fetch, but do not render since album 3 was not in the state. Albums only fetch from an artist page.

Resolved issue by fetching all data required to render page by sending song data along with album and playlist data