hello.js

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

Thursday, 18 January, 2018 UTC

All in One Authentication and Route Protection for a React + GraphQL App

All in One Authentication and Route Protection for a React + GraphQL App

Email, Facebook, Google, Twitter, Github and the list can go as long as you wish. These are possible options for authenticating users in your web apps. Apps built with React and GraphQL are no less candidates for such authentications. Our Tools In this ... more


Thursday, 18 January, 2018 UTC

javascript: Required function arguments in Javascript

javascript: Required function arguments in Javascript

In Javascript, all function arguments are optional by default. That means if you ever forget to pass a critical parameter, the code will just fail without warning you what went wrong. There are `many` workarounds for this, and in this lesson, you will ... more


Thursday, 18 January, 2018 UTC

react: Handle a rejected promise and display error to user using setState()

react: Handle a rejected promise and display error to user using setState()

In this lesson we will account for errors encountered during a failed requests and display a helpful error message to the user. We will add a `catch()` handler ([Promise.prototype.catch](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch)) ... more


Thursday, 18 January, 2018 UTC

Learning Elm From A Drum Sequencer (Part 2)

Learning Elm From A Drum Sequencer (Part 2)

In part one of this two-part article, we began building a drum sequencer in Elm. We learned the syntax, how to read and write type-annotations to ensure our functions can interact with one another, and the Elm Architecture, the pattern in which all Elm ... more


Thursday, 18 January, 2018 UTC

Universal Vue.js Application Framework Nuxt.js Reaches 1.0

Universal Vue.js Application Framework Nuxt.js Reaches 1.0

Nuxt.js, an open source framework for creating universal Vue.js applications, just reached their 1.0 release. Nuxt.js claims to make it simple and fast to create a Vue.js application that can be run as a server side rendered application, as a single ... more


Wednesday, 17 January, 2018 UTC

Make Your Site Faster with Preconnect Hints

Make Your Site Faster with Preconnect Hints

Requesting an external resource on a website or application incurs several round-trips before the browser can actually start to download the resource. These round-trips include the DNS lookup, TCP handshake, and TLS negotiation (if SSL is being used). ... more


Wednesday, 17 January, 2018 UTC

How Do You Todo? A Microcosm / Redux Comparison

How Do You Todo? A Microcosm / Redux Comparison

For those who don't know, we've been working on our own React framework here at Viget called Microcosm. Development on Microcosm started before Redux had hit the scene and while the two share a number of similarities, there are a few key differences ... more


Wednesday, 17 January, 2018 UTC



Tuesday, 16 January, 2018 UTC

Announcing the Ionic PWA Toolkit Beta

Announcing the Ionic PWA Toolkit Beta

As many of you know, we’ve been working incredibly hard to make Ionic a great option for building Progressive Web Apps, and today I’m happy to announce a project that furthers those initiatives: The beta release of the Ionic PWA Toolkit! The Ionic PWA ... more


Tuesday, 16 January, 2018 UTC

Speaker Focus: Trevor Norris on "The Birth and Evolution of Async Hooks" at UtahJS

Speaker Focus: Trevor Norris on "The Birth and Evolution of Async Hooks" at UtahJS

Last year, Trevor Norris spoke at UtahJS on the Birth and Evolution of Async Hooks. Async Hooks is a feature that–after over three years of development–finally landed in the Node.js 8.x release line, and has now shipped as an LTS feature with Node.js ... more


Tuesday, 16 January, 2018 UTC

“Stop Using CSS Selectors for Non-CSS”

“Stop Using CSS Selectors for Non-CSS”

I saw Nicole Dominguez tweet this the other day: say it louder for the people in the backhttps://t.co/prDKo5QaZi — nicole (@sodevious) January 11, 2018 I wasn't at this conference, so I have very little context. Normally, I'd consider it a sin to weigh ... more


Tuesday, 16 January, 2018 UTC

Using Ionic 4 Components in Your Vue.js Apps

Using Ionic 4 Components in Your Vue.js Apps

Vue.js is gaining popularity for all the right reasons, and the future looks bright for Vue and the combination of Progressive Web Applications. Ionic is a web framework at the forefront of combining mobile-first UX and although it’s currently powered ... more


Tuesday, 16 January, 2018 UTC

react: Update state asynchronously in React using Promise and setState()

react: Update state asynchronously in React using Promise and setState()

In this lesson we will look at updating state in React based on the successful resolution of a promise making use of [Promise.prototype.then](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then). We will perform ... more


Tuesday, 16 January, 2018 UTC

How to Test Your JavaScript with Selenium WebDriver and Mocha

How to Test Your JavaScript with Selenium WebDriver and Mocha

This article was originally published on TestProject. In case you are looking to write a functional test in JavaScript, the following tutorial provides UI automation engineers with the perfect structural reference material for JavaScript testing with ... more


Tuesday, 16 January, 2018 UTC

Build George Costanza’s Bathroom Finder using WRLD

Build George Costanza’s Bathroom Finder using WRLD

This article was sponsored by WRLD 3D. Thank you for supporting the partners who make SitePoint possible. “Anywhere in the city? Anywhere in the city: I’ll tell you the best public toilet.” These are the words of George Costanza to Jerry Seinfeld in ... more


Tuesday, 16 January, 2018 UTC

Serverless Development with Node, MongoDB Atlas, and AWS Lambda

Serverless Development with Node, MongoDB Atlas, and AWS Lambda

The developer landscape has dramatically changed in recent years. It used to be fairly common for us developers to run all of our tools (databases, web servers, development IDEs…) on our own machines, but cloud services such as GitHub, MongoDB Atlas ... more


Tuesday, 16 January, 2018 UTC

Introducing Sentry Cordova

Introducing Sentry Cordova

There are pros and cons to hybrid app development, and if you’ve built an app using Cordova you’re very much aware of them. One of the previous cons (if you were specifically using Cordova) was that Sentry didn’t have a Cordova SDK, requiring that you ... more


Tuesday, 16 January, 2018 UTC

The Brief Lifespan of a JavaScript Framework

The Brief Lifespan of a JavaScript Framework

The lifecycle of a JavaScript framework is extraordinarily limited, according to a new analysis by Stack Overflow. But the data may also show how the lifespan of a major framework differs from those that satisfy a specific niche. By David Iffland ... more


Tuesday, 16 January, 2018 UTC

Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js

Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js

Querying a database with SQL or a similar technology is great until you find yourself needing to query natural language. Do you degrade the performance of your queries with wildcards? How about searching across multiple columns or properties? What happens ... more


Tuesday, 16 January, 2018 UTC

Understand The JavaScript Ternary Operator like ABC

Understand The JavaScript Ternary Operator like ABC

If you made it this far then it's either you know of ternary operators and want to know more, you have no idea of ternary operators, or you’re just somewhere in-between. Keep on. From my time writing JavaScript, and of course looking through the JavaScript ... more


Tuesday, 16 January, 2018 UTC

Creating a Vue.js Serverless Checkout Form: Setup and Testing

Creating a Vue.js Serverless Checkout Form: Setup and Testing

There comes a time in any young app’s life when it will have to monetize. There are a number of ways to become profitable, but accepting cash is a surefire way to make this more direct. In this four-part tutorial, we’ll go over how to set up a serverless ... more


Tuesday, 16 January, 2018 UTC

Using Hardware Token-based 2FA with the WebAuthn API

Using Hardware Token-based 2FA with the WebAuthn API

To provide higher security for logins, websites are deploying two-factor authentication (2FA), often using a smartphone application or text messages. Those mechanisms make phishing harder but fail to prevent it entirely — users can still be tricked into ... more


Tuesday, 16 January, 2018 UTC

Create a time tracking application using Laravel and Vue

Create a time tracking application using Laravel and Vue

Toggl is a time tracking application that allows you know how much time is spent on a particular task. With Toggl you can add multiple projects and track how much time you have spent on each of the features in that project. This is useful because it ... more


Tuesday, 16 January, 2018 UTC

javascript: Refactor Array concat() Operations to Use the ES6 Spread Operator

javascript: Refactor Array concat() Operations to Use the ES6 Spread Operator

In this video, we take a quick look at refactoring usages of [Array.prototype.concat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat) to make use of the [ES6 array spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator). ... more


Tuesday, 16 January, 2018 UTC

WebStorm 2017.3.3 is now available

WebStorm 2017.3.3 is now available

WebStorm 2017.3.3 (173.4301.22) is now available! As always, you can install this update using Toolbox App. If you’re using WebStorm 2017.3.1, 2017.3.2 or 2017.3.3 EAP, you will soon see an update notification in the IDE. If you are using an earlier ... more


Tuesday, 16 January, 2018 UTC

The Ultimate Guide to JavaScript Frameworks

The Ultimate Guide to JavaScript Frameworks

Keeping up with JavaScript frameworks can be a challenge. There are a lot of them, and seemingly another one every month. How do you know which ones might be right for your project? What are their strengths and weaknesses? How do you get started? That’s ... more


Tuesday, 16 January, 2018 UTC

Evil Icons – A Clean SVG Line Icon Pack for Web Developers

Evil Icons – A Clean SVG Line Icon Pack for Web Developers

With a name like Evil Icons , you might not be sure what to expect. But, the project is harmless and surprisingly useful! The Evil Icons pack offers an assortment of a few dozen icons in the line icon style . These use thin shapes with transparent centers ... more


Tuesday, 16 January, 2018 UTC

Using and creating code snippets

Using and creating code snippets

Code snippets, or Live Templates as they are called in WebStorm, can help you save and reuse code. This can be any code fragment that you find yourself using often – just a line of code like a method definition, or a skeleton for a whole file. There ... more


Tuesday, 16 January, 2018 UTC

What’s New for Designers, January 2018

What’s New for Designers, January 2018

Start 2018 by deleting some of those old tools from your computer that you never use in favor of some fresh, new options. While old favorites can be great for a while, there are so many great new elements out there that can streamline your workflow, ... more