JavaScript

If you have been using aliases in Webpack, and want to switch over to Babel instead, you can use the Babel Module Resolver Plugin. Then just configure your aliases, such as: […]

Since JavaScript can set a variable equal to a reference of another variable, there are two types of comparisons. Same _.eq will do a same value zero comparison to determine if […]

For persistent storage after closing the browser, you can use HTML5 “sessionStorage”. It only takes simple values, not complex objects (unless you do some JSON to string conversions). Saving something: […]