First week back and i quickly pick up where i left off, before the break. I start with the recommendations to use best practices. My current solution to remove an audio menu view and replace with an API function call works as required, however, there is a better way to handle the problem.
A general rule in React when working with components is that they should not directly interact with any API functions or services; they should not import files from the API’s. For this reason we use containers to interact with the API and pass down any needed functions through the chain as properties.
The rest of the week is used re-working these changes and starting my next task of having the audio selection menu display at the start of the app, when the client loads.