Using ES6 with D3.js

ES6 is an important update to Javascript, and it has some great features that you can start using with your D3.js visualizations.

Similar

Mongoose with ES6 classes

Mongoose is a great way to handle your database connection and model your data without having to worry about performing your own validation and so on. However I found it quite hard to find an example of Mongoose in action with the database connection not... (more…)

Read more »

ES6

Javascript-ES6-ECMAScript6-ES2015 - 前端近些年发展很快,作为前端技术的核心支撑JS也从ES5过渡到了ES6,强有力的推进了前端的发展。作为一名前端从业人员学习掌握ES6是必不可少的一项技能。本项目对自己项目中运用过的ES6语法知识给予介绍,并给出大量简洁易懂的示例代码,对于初学者来说敲过本项目中的代码,基本就入门ES6了,再在实际中运用所学知识、补充不足,... (more…)

Read more »

ES6 is great, until it’s not

It’s funny indeed, but at the same time it’s the typical showcase of Cargo Cult Programming — ritual inclusion of code or program structures that serve no real purpose. It might seem to be an edge…

Read more »

Babel and ES6

Babel is a JavaScript compiler. That means with Babel, you can write syntax in the latest version of JavaScript, and it will transform the code to be browser-compatible JavaScript. This is awesome, because it is good to learn the most up to date version, ... (more…)

Read more »