Kevin ChiSocket.io with Express and ReactTraditionally, a client sends an http request to a client and the client sends back information to the client. Http is stateless, so…Dec 22, 2018Dec 22, 2018
Kevin ChiReact Overview Part 1: Functional ComponentsReact is used for creating dynamic user interfaces. At the core of React are its components. The dynamic aspect of React comes through its…Dec 18, 2018Dec 18, 2018
Kevin ChiRuby and Javascript — Scope, Variables, FunctionsThere’s quite a few differences in how scope, variables, and functions are treated in Ruby versus in Javascript. To start off, Javascript…Dec 15, 2018Dec 15, 2018
Kevin ChiinnerHTML vs createElement/appendChildWe can add elements to a DOM element by creating an element and appending it. (Let’s pretend we have an exisiting div element to work with)Dec 15, 20182Dec 15, 20182
Kevin ChiJavascript CoercionJavascript tries its best to ouput a result, when other languages would throw an error. This can be confusing for many newcomers to the…Dec 15, 2018Dec 15, 2018
Kevin ChiJavascript PrototypesAll Javascript functions have a prototype object that allows for prototypal inheritance (objects inheriting directly from other objects)…Dec 15, 2018Dec 15, 2018
Kevin ChiJavascript Call Stack/Event Loop/AsyncThink of the Javascript Call Stack as a list of function todos. Like the name implies, it functions as a stack, where functions waiting to…Dec 15, 2018Dec 15, 2018