Image Search App using unsplash API in ReactJS -2

Image for post
Image for post
Photo by Lili Kovac on Unsplash

Welcome to part-2 to the series. You can find part-1 here. We will start from where we left in part-1.

We will work on SearchBar.js file and use the standard React syntax to handle form.

Here, the bold things are changed. Details of this whole logic can be found, in another of my blog post at this link. Check Question 50 and Question 51.

We can see this in action by typing anything in Search Bar and pressing enter. It will console log the same.

Image for post
Image for post
Magic of Arrow Function

You can find the rest of the article on my blog site. The link for same is below.

https://thewebdev.tech/image-search-unsplash-react-2

You can find part-3 here.

Written by

UI Lead- ReactJS, JavaScript and everything in-between.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store