JS Destructuring

The Brief

Create a searchable image gallery from an API using React and React Router.

The Build

I tackled the build by first creating the markup structure then coming back to see how this would work with a router. Connecting the API and search functionality was fairly quick. I had some experience of React and so this wasn't an issue.

Adding routing was my main learning moment in this assignment. To get full functionality, I learned more about using component lifecycles, particularly 'componentDidUpdate'. This method alongside further practice in passing params and pushing the logic up the tree got me to a fully working product.

Inspect the Code