Term 2 – Week 1

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.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s