Module Design 🦀

1 · Nicolás Bevacqua · Sept. 21, 2018, 3:06 p.m.
This article is an excerpt from Mastering Modular JavaScript, which is being released tomorrow on Amazon. You can also “pay” for the HTML version by sharing a single tweet.Thinking in terms of API-driven and documentation-driven design will yield more usable modules than not doing so. You might argue that internals are not that important: “as long as the interface holds, we can put anything we want in the mix!”. A usable interface is only one side of the equation; it will do little to keep the m...