摘要:
Learn how to use Object.assign to combine multiple objects together. This pattern is helpful when writing libraries that have a set of default options 阅读全文
摘要:
Let's we want to combine two account accidently have the same name. So, here we can use Semi-group to combine them, because the semi-group have the kn 阅读全文
摘要:
An introduction to concatting items via the formal Semi-group interface. Semi-groups are simply a type with a concat method that are associative. We d 阅读全文
摘要:
While browsers do a great job of ignoring styles they don’t understand, it can be useful to provide different sets of styles depending on a browser’s 阅读全文
摘要:
We define the Either type and see how it works. Then try it out to enforce a null check and branch our code. Now, we try to make Box more useful. We w 阅读全文
摘要:
You probably use a framework or standalone library to load data into your apps, but what if that’s overkill for your needs? What if you’re just puttin 阅读全文
摘要:
Because now deploys are immutable, you can’t push changes to a running instance - you just push a new instance, which means you get a new URL. But doe 阅读全文
摘要:
After understanding how Box is, then we are going to see how to use Box to refacotr code, to un-nested expression. For example, we have code: So how i 阅读全文