hello.js

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

Thursday, 18 April, 2019 UTC

Optimize the Performance of a Vue App with Async Components

Optimize the Performance of a Vue App with Async Components

Single-page applications sometimes cop a little flack for their slow initial load. This is because traditionally, the server will send a large bundle of JavaScript to the client, which must be downloaded and parsed before anything is displayed on the ... more


Wednesday, 17 April, 2019 UTC

How to Build a Sales Funnel with Vue.js

How to Build a Sales Funnel with Vue.js

A sales funnel is an online marketing tool that is built and designed to capture leads from traffic and convert them into customers. They tend to convert 20% to 50% higher than ordinary web pages. A sales funnel typically consists of opt-in pages, order ... more


Wednesday, 10 April, 2019 UTC

Function Composition in JavaScript with Array.prototype.reduceRight

Function Composition in JavaScript with Array.prototype.reduceRight

Functional programming in JavaScript has rocketed in popularity over the last few years. While a handful of its regularly-promoted tenets, such as immutability, require runtime workarounds, the language's first-class treatment of functions has proven ... more


Friday, 5 April, 2019 UTC

SitePoint Premium New Releases: Node, Android, React Native & More

SitePoint Premium New Releases: Node, Android, React Native & More

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books and mini-books to check out in the library — let us introduce you to them. Mastering the Faster Web with PHP, MySQL, JavaScript Make ... more


Thursday, 4 April, 2019 UTC

How to Build a News App with Ionic 4 & Angular

How to Build a News App with Ionic 4 & Angular

In this tutorial we'll be using Ionic 4 to build a news application that makes use of a third-party news API. Ionic 4 is the latest version of Ionic, a mobile framework originally built on top of Cordova and Angular. Ionic allows users to create hybrid ... more


Wednesday, 3 April, 2019 UTC

JavaScript Web Workers: A Beginner’s Guide

JavaScript Web Workers: A Beginner’s Guide

In 2019, the web ecosystem has evolved to the point where the browser is an execution environment for applications built on JavaScript. This is reflected in the speed with which the industry comes up with new frameworks, paradigms, module loaders and ... more


Friday, 22 March, 2019 UTC

The Difference Between Computed Properties, Methods and Watchers in Vue

The Difference Between Computed Properties, Methods and Watchers in Vue

For those starting out learning Vue, there’s a bit of confusion over the difference between methods, computed properties and watchers. Even though it’s often possible to use each of them to accomplish more or less the same thing, it’s important to know ... more


Friday, 22 March, 2019 UTC

SitePoint Premium New Releases: DevOps Security, jQuery & Vue Projects

SitePoint Premium New Releases: DevOps Security, jQuery & Vue Projects

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books and mini-books to check out in the library — let us introduce you to them. Learning jQuery 3 Fifth Edition A step-by-step, practical ... more


Wednesday, 20 March, 2019 UTC

Get Started Writing Class-based Vue.js Apps in TypeScript

Get Started Writing Class-based Vue.js Apps in TypeScript

In September of last year, Evan You (creator of Vue.js) announced plans for the next major version of the library. Vue 3.0 will feature an improved experience for TypeScript users, including native support for class-based components, and better support ... more


Friday, 15 March, 2019 UTC

How to Replace jQuery with Vue

How to Replace jQuery with Vue

I’m willing to bet that there are a lot of developers out there who still reach for jQuery when tasked with building simple apps. There are often times when we need to add some interactivity to a page, but reaching for a JavaScript framework seems like ... more


Friday, 15 March, 2019 UTC

SitePoint Premium New Releases: Swift, Icon Design, and Vue

SitePoint Premium New Releases: Swift, Icon Design, and Vue

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books and mini-books to check out in the library — let us introduce you to them. Hands-On Full-Stack Development with Swift - Packt Build ... more


Thursday, 14 March, 2019 UTC

React Hooks: How to Get Started & Build Your Own

React Hooks: How to Get Started & Build Your Own

React Hooks are special functions that allow you to "hook into" React features. For example, the useState hook allows you to add React state to a functional component. useEffect is another hook that allows you to perform side effects in function ... more


Wednesday, 13 March, 2019 UTC

Create an Automated Scoreboard that Senses Your Score with a Raspberry Pi

Create an Automated Scoreboard that Senses Your Score with a Raspberry Pi

On an impulse just before Christmas, I bought myself an NBA "over-the-door" mini basketball hoop. I wasn't sure what I'd do with it, but having a basketball hoop for my office seemed like a good move. In the end I decided to experiment and ... more


Friday, 8 March, 2019 UTC

SitePoint Premium New Releases: Vue Projects, Django & Isomorphic Go

SitePoint Premium New Releases: Vue Projects, Django & Isomorphic Go

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books and mini-books to check out in the library — let us introduce you to them. Build a Real-time Chat App with Pusher and Vue.js Build ... more


Wednesday, 6 March, 2019 UTC

Browser DevTools Secrets: Start-up, Network and Performance

Browser DevTools Secrets: Start-up, Network and Performance

During the past decade, browser development tools (browser DevTools) have evolved from basic JavaScript consoles to fully-integrated development and debugging environments. It's become possible to alter and inspect any aspect of your web application ... more


Sunday, 3 March, 2019 UTC

SitePoint Premium New Releases: More Vue, Nuxt.js + JS Data Structures

SitePoint Premium New Releases: More Vue, Nuxt.js + JS Data Structures

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books and mini-books to check out in the library — let us introduce you to them. Learning JavaScript Data Structures and Algorithms Third ... more


Wednesday, 27 February, 2019 UTC

Static Site Generators: A Beginner’s Guide

Static Site Generators: A Beginner’s Guide

Let's say your next project is going to be a simple HTML website for a resumé, marketing a product or service, documenting your software, or something along those lines. A great option for you is to build your website using static site generators (SSG). ... more


Monday, 25 February, 2019 UTC

SitePoint Premium New Releases: Vuex, Vue CLI, Squarespace + More

SitePoint Premium New Releases: Vuex, Vue CLI, Squarespace + More

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books and mini-books to check out in the library — let us introduce you to them. Getting Started with Vuex: a Beginner’s Guide Handling state ... more


Friday, 22 February, 2019 UTC

How to Avoid DOM Blocking in JavaScript

How to Avoid DOM Blocking in JavaScript

JavaScript programs run on a single thread in the browser and in runtimes such as Node.js. When code is executing in a browser tab, everything else stops: menu commands, downloads, rendering, DOM updates and even GIF animations. This is rarely evident ... more


Wednesday, 20 February, 2019 UTC

XMLHttpRequest vs the Fetch API: What’s Best for Ajax in 2019?

XMLHttpRequest vs the Fetch API: What’s Best for Ajax in 2019?

March 2019 celebrates the 20th anniversary of Ajax. Sort of. The first implementation of XMLHttpRequest shipped in 1999 as an IE5.0 ActiveX component (don't ask) . Before then, there had been ways to pull data from a server without a full-page refresh, ... more


Friday, 15 February, 2019 UTC

How to Build Your First Static Site with Gatsby

How to Build Your First Static Site with Gatsby

Thinking about getting on the JAMStack bandwagon? If your answer is Yes , then Gatsby, one of the hottest static site generators around, could be just what you're looking for. JAM stands for JavaScript, APIs, and Markup. In other words, when the dynamic ... more


Wednesday, 13 February, 2019 UTC

How to Take JavaScript Beyond the Web in 2019

How to Take JavaScript Beyond the Web in 2019

JavaScript continues to appear in all sorts of places beyond the web as we enter into 2019! We've had a history of looking at how JavaScript has gone beyond the web here at SitePoint (see JavaScript Beyond the Web, JavaScript Beyond the Web in 2014 and ... more


Tuesday, 5 February, 2019 UTC

How to Beat 5 Common JavaScript Interview Challenges

How to Beat 5 Common JavaScript Interview Challenges

The ways tech interviews are being carried out has been at the center of much controversy for a while now. It’s a sensitive topic, especially when it comes to coding challenges. Not all companies use the same screening process, but for the most part, ... more


Friday, 25 January, 2019 UTC

How to Tell If Vue.js Is the Right Framework for Your Next Project

How to Tell If Vue.js Is the Right Framework for Your Next Project

Vue.js grew from a one-man project to a JavaScript framework everyone’s talking about. You’ve heard about it from your front-end colleagues and during conferences. You’ve probably read multiple comparisons between Vue, React, and Angular. And you’ve ... more


Wednesday, 23 January, 2019 UTC

A Guide to Writing Your First Software Documentation

A Guide to Writing Your First Software Documentation

As a developer, your pride and joy is your code. It’s readable, it meets DRY principles, it reflects best practices, and the end product is a great tool that solves some kind of problem for its target users. However, no matter how much work you’ve put ... more


Tuesday, 22 January, 2019 UTC

Develop an Android App with React Native & Publish on Google Play

Develop an Android App with React Native & Publish on Google Play

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. As mobile app usage is expected to continue to grow, now is as good a time as any to get into the market. Android is ... more


Thursday, 17 January, 2019 UTC

How to Migrate to Gulp.js 4.0

How to Migrate to Gulp.js 4.0

Despite competition from webpack and Parcel, Gulp.js remains one of the most popular JavaScript task runners. Gulp.js is configured using code which makes it a versatile, general-purpose option. As well as the usual transpiling, bundling and live reloading, ... more


Tuesday, 15 January, 2019 UTC

Where to Start Learning Emerging Tech in 2019

Where to Start Learning Emerging Tech in 2019

Emerging technology has reached new heights as we enter 2019. Virtual and augmented reality, machine learning, robotics, the Internet of Things... there's so much potential out there right now. The great news is that it is also getting easier and easier ... more


Tuesday, 15 January, 2019 UTC

Build a Simple Web App with Express, Angular, and GraphQL

Build a Simple Web App with Express, Angular, and GraphQL

This article was originally published on the Okta developer blog. Thank you for supporting the partners who make SitePoint possible. During the past 10 years or so, the concept of REST APIs for web services has become the bread and butter for most web ... more


Thursday, 10 January, 2019 UTC

Build an App with Everything New & Noteworthy in Angular 7

Build an App with Everything New & Noteworthy in Angular 7

Angular 7 was released earlier this quarter and I’m pumped about a few of its features. If you’ve been following Angular since Angular 2, you know that upgrading can sometimes be a pain. There was no Angular 3, but upgrading to Angular 4 wasn’t too bad, ... more