Closed aksnell closed 4 years ago
I don't think state is needed here, you never updated it so just using the passed props would be sufficient: https://github.com/aksnell/currency-converter/blob/master/src/components/ConversionRow.jsx#L5-L12
This should have a key
property so that React can properly identify the iterated/generated entries: https://github.com/aksnell/currency-converter/blob/master/src/components/ConversionTable.jsx#L35, likely the symbol
is a good key candidate.
Your homework 08 - 02 - Currency Converter was marked: Meets Expectations
“Well done!”
In this assignment, you will create a React application that will convert various currencies.
For the data, you will use the API available here
Objectives
componentDidMount
with classes oruseEffect
with hooks)Requirements
Explorer Mode
USD
as the base currency.42.12
) in USD.Adventure Mode
Epic Mode