While on my early journey into React, I came across the concept of “the virtual DOM” and was quite puzzled. I understood that there was the “DOM” while learning HTML, CSS, and Javascript, but what the heck was the virtual DOM and why do we need it in React?
Before we dive deeper into this topic, it’s best if we revisit what the original DOM, or Document Object Model, is.
According to MDN,
“The Document Object Model (DOM) is a programming interface for HTML and XML documents. It represents the page so that programs can change the document structure, style…
As I am learning more about Javascript, Typescript has come up a handful of times already. Each time I hear someone talk about it or come across it on a blog, I’m always thinking, “What is Typescript?” So I decided to dig a little more and find out what all the commotion is about this “Typescript.”
According to their website,
“Typescript is a typed superset of Javascript that compiles to plain Javascript.”
It is an open-source, object-oriented programming language that was developed by Microsoft and made public in October 2012. Microsoft wanted to create a language that helped with the…
If you are a programmer, you are definitely familiar with those long days spent coding away at your computer. You’ve been “in the zone” for the past who-knows-how-long hours, typing relentlessly and barely blinking at your bright computer screen. Your eyes hurt, your wrists are stiff, and you’re not sure if your legs still have any blood circulation going through them.
Yes, you can still code but you don’t have to risk your health in the process. There are ways to lessen the amount of stress you put on your body. …
After using Git and Github consistently in the coding labs at Flatiron School, I thought I had a good grasp on how to use both of these tools well. However, I received a massive wake up call when I started working on my first pairing project and realized that I only knew how to use these tools effectively when I was the only person making changes to the code. Collaborating on Github was a whole other beast that I had not yet tamed.
Before we get into the collaboration process, I wanted to explain briefly what these tools are and…
React Developer, Ex-Software Engineering Coach with a passion for design & user experience