When I started the Redux section of the curriculum at Flatiron, I learned about higher order components, like connect(), which is used to connect state and dispatch to props of a react component. But what exactly are higher order components?
While working through the Javascript, React, and Redux lessons, we often used the asynchronous function, fetch. This function returned a promise and I wondered what exactly is a promise? We are all familiar with promises in our daily lives, ‘I promise to do that’ or ‘I promise to avoid this’. Promises are a vow to do or to not do something. I assumed, since the object returned from fetch was called a promise, that it would behave similarly to what we understand about a promise. And it does!
When I started my javascript project, I decided I wanted to do some kind of game and decided to try my hand at making a hangman game. My biggest question after settling on this idea was how to draw the actual stickman. I did some googling and found out about a html canvas tag and it seemed like best way to go.
When I started my rails project I knew that I wanted to have some images, after all a picture is worth a thousand words, right? I knew how to use the images folder to hold images that I was going to use for my site, ie) logo, hero images, etc. But I knew that I also wanted users to be able to add images themselves. I did a little research and found that Rails came with a solution called ActiveStorage.
When I first started learning more of the behind-the-scenes of how the internet and secure sites worked, I was fascinated about how developers secured sensitive information. The gem that was introduced to me through the Sinatra section was bcrypt.