We are going to start to get into asynchronous JavaScript. Before we do that though, it is important to understand how JavaScript actually works and to understand that at it's core, JavaScript is a synchronous and single-threaded language. It has asynchronous capabilities, which we will be looking at in this section and others, but it is not asynchronous by default.
Optimizations
-
"Start with a problem first, then solve it. dont go looking for problems."
-
"Measure first before you optimize for performance. And then measure again."
profiler --> general --> check 'highlight updates when components render' to visually see what components render' (green border around element as long as you have devTools open)