It’s often difficult to get started with a new software library or framework; it seems like there are always a mass of concepts, paradigms, and conventions to learn in any new technology. This post gathers together an extended “Hello World” example implemented using the React library, demonstrating a number of the core features of React.
Arrow functions, a feature of ECMAScript 6, are the latest style for declaring functions as first class entities in JavaScript. The brevity of the arrow function syntax is often their first cited advantage.
Jasmine is a framework for unit testing Javascript code. It has an easy syntax that allows fast creation of human readable, spec-like test code to verify the correct behavior of Java application code. When creating a new npm project that will use jasmine for testing, specify “jasmine” as the test script
Bookmarklets provide a way to add small customized tools to your browser. They look like regular bookmarks, but instead of having a “http:” address to a page on the web, they contain Javascript code that runs whenever the bookmarklet is clicked. Here’s the obligatory “Hello World” demonstration of a bookmarklet: create a new bookmark in