Function Components
Attempting to build my React Redux application, using Ruby on Rails for backend started like this:
Have you ever gone to a meetup and get Introduced to someone? You make a mental note of the persons name and go on to have a great conversation. Ten minutes later you find yourself talking to another two people and then six more.
Soon you realize that the first contact this evening, is the one that you have the best chances of developing promising partnership with. The venue is buzzing with people mingling and you’re trying to find him, but - Oh no, you forgot his name! :-( If only I was a computer this would not have happened. I mean that’s only until I tried making my a Rails/JavaScript application. If I can only get the front-end part of my app to remember who is the current user. I finally turn to a good friend, one whom I’ve never met in person, but I’ll never forget his name: Google that is. He in turn, introduced me to localStorage. And it’s a simple as
As the trees are get filled with fresh green leaves and the warm winds of summer settle in, I remind myself of my first experience in overnight summer camp. Brave enough to venture across the border on my own, but hesitant to spark new friendships, I was determined to make it the best summer. Fast forward about 20 years, and here I am, creating an app to “Get the Job Done”. This platforms allows employers to post jobs that need to be fulfilled, so that employees can log on and select the jobs which they would like to accomplish, subsequently marking the job as done by removing it from the index page. Trying to connect three that don’t know each other: Employer, Employee and Job, felt like making new friends and connecting to new people, but this time it’s behind the screen, creating a network so that Employer, Employee and Job can all be connected.
Coding often brings back childhood memories. A new subject in coding can often feel very much like a child learning how to ride a bike. Growing up I would always look forward to our yearly family trips to the beatiful green mountains of Lake Placid. One of my favorite summer activities was to bike the mountains without the fear of hitting the concrete sidewalks of Brooklyn. To my surprise, I woke up one morning to find out that my bike’s helper wheels are GONE! The challenge seemed gigantic for the little me. My mother assured me that there was no reason to fear, she will hold onto my bike-seat while I ride. However, she only did so for about a minute, and unbeknownst to me I was riding the bike on my own! When I was challenged with coding a Sinatra project on my own, it felt like a little child trying to ride an adult bike. Can I really do this without the “helper wheels” - the detailed instructions that a typical coding lab comes with? After I met with a technical coach, my confidence had been restored. I realized that the tools needed to succeed were already there, all I needed was the first push to “bike” through it on my own!