It’s easy to create SVGs in Sketch. But how do you get them into React so you can use them? Better yet, how can you use them in a way where you can change their color, shape, and other properties based on user input? It’s surprisingly easy.
Read MoreImproving the render method in TodoMVC
Mastering Javascript Fundamentals: Scopes, locals, closures, globals
Summary:
Functions can always remember the variables they could see at creation.
They can see variables defined inside the function.
They can see variables defined in enclosing functions.