ES6
React Example 1 with Stackblitz
React Example 1 with CodeSandbox
ReactJS Event Handling with different patterns
See the Pen ReactExample26 by kenan (@kenanhancer) on CodePen.
ReactJS and Bootstrap 4 Dropdown multi level menu example 2
See the Pen ReactExample24 by kenan (@kenanhancer) on CodePen.
ReactJS and Bootstrap 4 Dropdown button example 1
See the Pen ReactExample22 by kenan (@kenanhancer) on CodePen.
ReactJS Analog Watch Example 1
See the Pen ReactExample18 by kenan (@kenanhancer) on CodePen.
ReactJS Embedding map() in JSX
See the Pen ReactExample16 by kenan (@kenanhancer) on CodePen.
JavaScript Promise in ES6
JavaScript Class, Inheritance, Override in ES6
ES6, also known as ECMAScript2015, introduced classes. Notice that classes are used in order to use inheritance.
This sample code is written in different concepts you should read the following posts as well.
Presumably this demo looks more friendly to you 🙂 actually I think so. But don't forget that no magic here still, this code is also transpiled(or compiled) to ES5 for browser compatibility.