hello.js

var please = require('share');
console.log('thank you');

Thursday, 16 November, 2017 UTC

css: Compile tailwind to CSS with gulp

css: Compile tailwind to CSS with gulp

In this lesson, we learn how to generate CSS utility classes from tailwind's JavaScript config file. We set up a new project from scratch, install tailwind, generate a config file and build a simple gulp task that runs that file through PostCSS to generate ... more


Wednesday, 15 November, 2017 UTC

css: Create custom utility classes in tailwind

css: Create custom utility classes in tailwind

In this lesson, we learn how to generate custom utility classes in tailwind. We add new properties to our JavaScript config object to generate new helper classes to suit our needs. ... more


Saturday, 4 November, 2017 UTC

angularjs: Use the URL as the source of truth in React

angularjs: Use the URL as the source of truth in React

In Single Page Apps we're used to fetch the data on event callbacks. That disables the capacity to use the URL to share it to someone else and get to the same state of the app, just like in non Single Page Apps. This lesson shows you how to use React ... more


Tuesday, 24 October, 2017 UTC

[Course] vue: Create a News App with Vue.js and Nuxt

[Course] vue: Create a News App with Vue.js and Nuxt

This course walks you through the steps of creating a News web app using Vue.js and the Nuxt framework. You will learn how to create dynamic pages for each section of your application and load, store, display, filter, and style the data. Then end result ... more


Thursday, 19 October, 2017 UTC

react: Use JSX with React

react: Use JSX with React

In this lesson we'll learn the basics of using JSX with React. In addition to the noted `className` difference, there are a number of [other differences with attributes in JSX than those in React](https://facebook.github.io/react/docs/dom-elements.html). ... more


Thursday, 5 October, 2017 UTC

node: Upload Files with Express

node: Upload Files with Express

In this lesson we create a new Express web server app for handling file uploads and persisting them to the filesystem. We will walk through using the express-fileupload middleware module from npm to process file uploads, and then use the Express static ... more


Thursday, 5 October, 2017 UTC

node: Upload Files with Express

node: Upload Files with Express

In this lesson we create a new Express web server app for handling file uploads and persisting them to the filesystem. We will walk through using the express-fileupload middleware module from npm to process file uploads, and then use the Express static ... more


Friday, 22 September, 2017 UTC

[Course] vue: Vue.js State Management with Vuex and TypeScript

[Course] vue: Vue.js State Management with Vuex and TypeScript

In [Use TypeScript to Develop Vue.js Web Applications](https://egghead.io/courses/use-typescript-to-develop-vue-js-web-applications) we’ve seen how TypeScript Vue apps development by creating class based components and using decorators. This course will ... more


Wednesday, 20 September, 2017 UTC

react: Process Images in React with react-imgpro

react: Process Images in React with react-imgpro

In this lesson, we will cover a popular image processing component in the react eco-system for image processing. The Library is react-imgpro. **Installation:** > npm install --save react-imgpro **Include it as a module :** > import ProcessImage ... more


Tuesday, 19 September, 2017 UTC

js: Use Native JavaScript Array Methods instead of Dependency Library

js: Use Native JavaScript Array Methods instead of Dependency Library

We are so tied to libraries that we use things like underscore or JQuery whenever we want to do any simple operation, we'll see how to get rid of this practice by knowing a little better JavaScript's native array methods and, along the way, remove those ... more


Monday, 18 September, 2017 UTC

node: Serve Static Files with Express

node: Serve Static Files with Express

In this lesson we will find out how to serve static assets (images, css, stylesheets, etc.) with Express. We will go over writing initial boilerplate for a simple Express app, and using Express's built-in middleware to serve these assets through a web ... more


Monday, 18 September, 2017 UTC

node: Serve Static Files with Express

node: Serve Static Files with Express

In this lesson we will find out how to serve static assets (images, css, stylesheets, etc.) with Express. We will go over writing initial boilerplate for a simple Express app, and using Express's built-in middleware to serve these assets through a web ... more


Thursday, 14 September, 2017 UTC

js: Iterate Over Items with JavaScript's for-of Loop

js: Iterate Over Items with JavaScript's for-of Loop

In this lesson we will understand the For Of loop in Javascript which was introduced in ES6. The for-of loop lets you iterate of an itterable object (array, string, set, or map) and returns each objects value in a specified variable. This excludes plain ... more


Thursday, 14 September, 2017 UTC

react: Render Markdown using React with React-Remarkable

react: Render Markdown using React with React-Remarkable

We will use the React-Remarkable library to render markdown onto our React DOM. This library uses the Remarkable library to render markdown. **Installation Guide** npm install --save react-remarkable **Importing Guide** import Markdown from 'react-remarkable' ... more


Monday, 11 September, 2017 UTC

css: Build a Carousel Control using Bootstrap

css: Build a Carousel Control using Bootstrap

Bootstrap makes building a carousel control a breeze. For Bootstrap carousel to work, we should include Jquery and Bootstrap's javascript module. Carousel has 3 parts: 1. Slider 2. Slider Controls 3. Indicators **To setup Bootstrap:** http://getbootstrap.com/docs/3.3/getting-started/#download ... more


Saturday, 9 September, 2017 UTC

typescript: Type check JavaScript files using JSDoc and Typescript 2.5

typescript: Type check JavaScript files using JSDoc and Typescript 2.5

Typescript 2.5 adds JSDoc type assertion support for javascript file via ts-check service. ... more


Thursday, 7 September, 2017 UTC

typescript: Type assertion in Javascript using Typescript 2.5

typescript: Type assertion in Javascript using Typescript 2.5

Typescript 2.5 adds JSDoc type assertion support for javascript file via ts-check service. ... more


Thursday, 7 September, 2017 UTC

typescript: Avoid Catching Errors with TypeScript 2.5 Optional Catch Clauses

typescript: Avoid Catching Errors with TypeScript 2.5 Optional Catch Clauses

Typescript 2.5 has brought a couple of interesting changes to the table. let's take a look at these new features and how to take advantage of these features. Optional catch clauses: TypeScript 2.5 brings a new ECMAScript-bound feature for making catch ... more


Friday, 1 September, 2017 UTC

d3: Use D3 with any Framework

d3: Use D3 with any Framework

In this lesson you will learn how to use a D3 line graph with any framework. The video shows the examples of Angular, React and Cycle.js, but you can transfer the knowledge to other frameworks easily. ... more


Friday, 1 September, 2017 UTC

node: Running your server forever using forever in Node.js

node: Running your server forever using forever in Node.js

Previously to tackle manual restarts due to server crashes , process management tools were used. Forever is one such module that is runs on the node ecosystem. So, we need not move away from the rich ecosystem of Node.js. Use ``` npm install --global ... more


Thursday, 31 August, 2017 UTC

node: Running your server forever using forever in Node.js

node: Running your server forever using forever in Node.js

Previously to tackle manual restarts due to server crashes , process management tools were used. Forever is one such module that is runs on the node ecosystem. So, we need not move away from the rich ecosystem of Node.js. Use ``` npm install --global ... more


Wednesday, 30 August, 2017 UTC

[Course] vue: Use TypeScript to Develop Vue.js Web Applications

[Course] vue: Use TypeScript to Develop Vue.js Web Applications

TypeScript is a powerful JavaScript superset which brings you first-class static type-checking along with latest ECMA Script features. Vue is one of the most modern libraries for managing the view layer. Angular has fully adopted TypeScript as its language, ... more


Wednesday, 30 August, 2017 UTC

js: Array Includes method in ES2016 - ES7

js: Array Includes method in ES2016 - ES7

Introduction to the new includes method included in the ES2016 specification for the Array data structure. Review of the previous methods followed, also some complicated examples to get out heads around the new functionalities provided using the includes ... more


Wednesday, 30 August, 2017 UTC

js: Array Includes method in ES2016 - ES7

js: Array Includes method in ES2016 - ES7

Introduction to the new includes method included in the ES2016 specification for the Array data structure. Review of the previous methods followed, also some complicated examples to get out heads around the new functionalities provided using the includes ... more


Tuesday, 29 August, 2017 UTC

node: Create a Hello bot using Microsoft Botbuilder SDK in Node.js

node: Create a Hello bot using Microsoft Botbuilder SDK in Node.js

Understanding the basics of botbuilder sdk by microsoft, and exploring the basic bot setup to run and respond to messages on any command line client. The botframework provides two connector classes ConsoleConnector, ChatConnector. 1. To setup connection ... more


Tuesday, 29 August, 2017 UTC

node: Run JavaScript in the Terminal with the Node REPL

node: Run JavaScript in the Terminal with the Node REPL

With Node installed, you can begin running JavaScript directly in the terminal. The Node REPL allows you to execute any JavaScript expression to check the output. You can even install packages from npm and load you local JavaScript files to test how libraries ... more


Sunday, 27 August, 2017 UTC

js: Exponent operator in ES2016 - ES7

js: Exponent operator in ES2016 - ES7

A brief introduction and review of the exponent operator in ES2016 and review previous methods being followed. We will also look at some examples that demonstrate the behaviour of the exponent operator. ... more


Friday, 11 August, 2017 UTC

elm: Create records in Elm

elm: Create records in Elm

Records in Elm are similar to objects in JavaScript, and are useful to represent domain entities and other program data. ... more


Thursday, 10 August, 2017 UTC

react: Error Handling using Error Boundaries in React 16

react: Error Handling using Error Boundaries in React 16

A JavaScript error in the UI shouldn’t break the whole application. To solve this problem for React 16 introduced a new concept of an “error boundary”. Such error boundaries are React components that catch JavaScript errors anywhere in their child component ... more


Tuesday, 1 August, 2017 UTC

react: Style a React component with styled-components

react: Style a React component with styled-components

In this lesson, we remove the mapping between a React component and the styles applied to it via classnames. We write our styles directly within the component, in a real CSS syntax, with the full power of JavaScript. ... more