The map() method is used to apply a function on every element in an array. A new array is then returned. You can think of map() as a for loop, that is specifically for transforming values. Consider the following code:
Smaller files are downloaded faster, so making an asset file size smaller before sending it to a client is a good thing to do. Actually, it’s not just a good thing to do, minification and compression are something that a modern developer is supposed to do.
This is the second edition of the JavaScript. The Core overview lecture, devoted to ECMAScript programming language and core components of its runtime system. Audience: experienced programmers, professionals.
TL;DR: Thinking in components — No longer do you have to maintain bunch of style-sheets. CSS-in-JS abstracts the CSS model to the component level, rather than the document level (modularity).
For few months, I’ve worked as an only developer in my hobby project called d20md, an interactive website for the well known game system. At the beginning of my adventure I’ve stand against the first, serious choose: “How to deploy my application?”.
Here you are! You are starting to feel comfortable with this framework, and all of the sudden… In this article we try to lay the foundation for all of your next projects, nothing less! ?
Recently I took a monthlong sabbatical from my job as a designer at Basecamp. (Basecamp is an incredible company that gives us a paid month off every 3 years.) When you take 30 days away from work, you have a lot of time and headspace that’s normally used up.