Magic Strings

In this video

We remove the currentTeam being passed into the gamegrid component

Assignment: Make currentTeam a model object
  1. Make currentTeam an object.
  2. Create a redTeam property and a blueTeam property on the component.
  3. These properties should be objects that have a displayName property that is set to "Red" or "Blue".
  4. Refactor the app where it uses the currentTeam property.
 

I finished! On to the next chapter