A map A few months ago, when I started the Neighborhood Map project of Udacity, I first checked the libraries available. There were quite a few choices: tomchentw/react-google-maps google-map-react/google-map-react fullstackreact/google-maps-react However, none of them could meet my requirements (it was also possible that I did not figure out the proper way to deal with the problems). I want the…
Keep Reading →
yarn By default, yarn global will create a directory at ~/.config/yarn/global (on OSX and non-root Linux), and if you enter the directory, you will find its structure like this: And in package.json, all global packages are defined as dependencies, just like what you are familiar with in a normal JS/TS project. In this directory, you can do whatever you would normally do, like yarn add, yarn…
Keep Reading →
A coder and his laptop. Most programmers prefer CLI to GUI, why? They are smaller in size. Batch processing is ease. Well-designed auto-completion can prevent incorrect manipulations. Using GUI is not cool. (It is true for most geeks.) ...And many other reasons I have not come up with yet. But not so many have actually developed a CLI. Fortunately, with the help of
several handful packages, it has…
Keep Reading →