검색했을 때 해당 단어에 해당되는 사진 나오게 하는 법 sementic-ui사용한 레이아웃과 axios를 사용한 fetching data. unsplash API 사용 two of the most commonly used options in react app.
이 네트워크 요청은 비동기식 요청이다. Whenever we make a request with axios returns an object called a promise. A promise is a request that will essentially give us
=> 당장은 가져온 이미지의 갯수를 보여주고 싶다.so to add in state to my app component i need to first initialize my state at the top of this class내 앱 구성요소에 상태를 추가하려면 먼저
now we've got to provide that autorization thing and that's really long url. all that stuff that propably should not belong directly inside of our app
검색한 이미지가 searchbar 밑에 나올 수 있게 Funtional component 만들기<App.js>somehow communicate our list of images that we just fetched down to the image list.we'
if you don't still see this "console.log" you can pull open the image definition by doing a another search and then go into the network tag and findin
what gets sent back over to us from the API you'll notice that every single one of these objects has an IP property that uniquely identifies it.API를 통