Sitemap
Kenji Hirabayashi

Kenji Hirabayashi

https://www.github.com/mkhira2 || I love coding, technology, learning, and Oxford commas.

Week 6

2 min readMar 10, 2017
Press enter or click to view image in full size

“The most important thing we learn in school is the fact that the most important things can’t be learned in school.” — Haruki Murakami

We went down the React rabbit hole this week. React was built by Facebook, for Facebook, at Facebook, in 2011. It was open-sourced in 2015. In a nutshell, React is a JavaScript library for building user interfaces.

The way React works is quite interesting. It uses unidirectional data flow and creates a “virtual DOM”, which is an in-memory data structure cache. React then compares the virtual DOM to the actual DOM and uses a diff algorithm to only update the changes in the actual DOM. This is much quicker and more efficient, since it only has to re-render the small changes each time instead of the entire webpage. We use JSX to write our React components, and it all works together seamlessly.

We spent the week converting a few old assignments from vanilla JS to React and built a couple projects from scratch as well.

Get Kenji Hirabayashi’s stories in your inbox

Join Medium for free to get updates from this writer.

BIG NEWS:

This weekend, I’m participating in my first Hackathon. It’s in downtown Houston, and the primary goal is to build an application that helps the community. We have a small group and we are aiming to build a program that connects veterans with therapists who offer services on a sliding-scale payment program. Coupled with our weekend assignment, this should prove to be a busy, exciting weekend.

I’m pumped because this will be our first chance to go outside of The Iron Yard walls and apply our skills in a real-world scenario. I’m going to take it as a huge learning experience and hopefully be able to contribute.

See you next week…

/* Q: When is a function a bad investment?

A: When there’s no return */

--

--

Kenji Hirabayashi
Kenji Hirabayashi

Written by Kenji Hirabayashi

https://www.github.com/mkhira2 || I love coding, technology, learning, and Oxford commas.