Answer the question
In order to leave comments, you need to log in
How to display data from api?
This is how the component looks like in which info with api should be displayed
. If nothing is displayed, then in reduxDevTools you can see that there is this object in the state -
Action -
Reducer -
selector (getCoin) - The following
data comes from the api request -
[
{
"id": "bitcoin",
"name": "Bitcoin",
"symbol": "BTC",
"rank": "1",
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question