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

NEW !!!

Wednesday, 29 January, 2020 UTC

Linear Vs Binary Search via JavaScript

JavaScript comes with some pretty handy out-of-the-box tools for searching through an array. But with a large data set the O(n) methods like indexOf , find , or a basic loop just aren’t the best or even feasible. Instead, we can use Binary search to ... more

Sunday, 26 January, 2020 UTC

Ionic 4, React, and AWS Amplify

While emulators are a great way to test apps, there are a number of reasons why deploying to the web and having the ability to run on several devices simultaneously is important. So let’s explore AWS Amplify with Ionic 4 and React. In this post I’ll ... more

Sunday, 26 January, 2020 UTC

Understanding Recursion & Memoization via JavaScript

In this article, you’re going to learn how to use recursive programming, what it is, and how to optimize it for use in algorithms. We’ll be using JavaScript as our programming language of choice to understand the concept of recursion. Prerequisites I’ll ... more

Saturday, 25 January, 2020 UTC

Exploring JSF*ck

In 2010 there was an informal competition to create a system of writing JavaScript with the fewest amount of characters. From 18 to 8 to now 6 symbols we can, technically, do anything we can do with standard JavaScript. With just the !+[]() symbols and ... more

Friday, 24 January, 2020 UTC

Loading React Components Dynamically with Hooks

Dynamic sites need flexibility. Flexibility results in more code. More code means increased maintenance time. How can we keep our sites maintainable and fast? One of the ways to load sites faster is to send browsers less JavaScript to process. We can ... more

Thursday, 23 January, 2020 UTC

Reading & Processing Files with the JavaScript FileReader API

Reading, writing and analyzing files is an essential component of software development. For security reasons, in JavaScript, we can’t directly access users’ files. If we had something like fs in Node.js, we could just steal documents from users! First, ... more

Wednesday, 22 January, 2020 UTC

Introduction to Apollo Boost

With as much as we’ve gone over creating APIs with GraphQL and Prisma in previous articles, we’ve never actually applied our custom backend to a client-side app. In this article, you’ll learn how to let your user interact with your backend through queries ... more

Wednesday, 22 January, 2020 UTC

Using React Hooks in Gatsby

JavaScript treats functions as first-class citizens. And we can see this in React now more than ever with the introduction of Hooks in version 16.8. They allow for state manipulation and side-effects on functional components. At its core, Gatsby uses ... more

Monday, 20 January, 2020 UTC

Understanding Big O Notation via JavaScript

If you’ve ever looked into getting a job as a developer you’ve probably come across this Google interview at some point and wondered ‘what the heck are they talking about?’. In this article, we’re going to explore what they mean throwing around terms ... more

Friday, 17 January, 2020 UTC

Animating React Components Using React Transition Group

Animations help improve the feel of a website or web app and this often leads to better user experience. We can use animations during different events: during page transitions, while scrolling and of course during mounting and unmounting of components ... more

Wednesday, 15 January, 2020 UTC

When Should You Use the CSS !important Rule?

The !important rule in CSS gives you the ability to override styles, but is this power too much for a lone software developer? Read this article to find out what it is, and when it’s a good idea to use it! The !important rule is special because it has ... more

Wednesday, 15 January, 2020 UTC

Learning the Basic Components of React Native

React Native works a lot like React, implementing JSX, state, and props. Of course, React Native is built on Native components, instead of HTML elements. Therefore, if you are familiar with normal React, it will be easy to pick up React Native, as long ... more

Monday, 13 January, 2020 UTC

How to use the BroadcastChannel API in JavaScript

The BroadcastChannel API is a new web platform API that lets you communicate between different windows/tabs/iframes of the same origin. Using BroadcastChannel may sound fancy and daunting but it is super easy and useful. Why use the BroadcastChannel ... more

Friday, 10 January, 2020 UTC

String Pluralization in JavaScript Using Simplur

Handling plural/singular forms of nouns in English can be difficult in software. Using a library called Simplur provides you with a simple JavaScript utility to solving this problem! There are some problems in programming that originate from the human ... more

Wednesday, 8 January, 2020 UTC

Using Pug and Sass in Flutter with flutter-view

Despite my love for Flutter, when I first came to it from the world of web development I was a bit uneasy with how it was structured. Logic, styles, and markup all in one place and intermixed within a plethora of brackets and commas. Now that I’ve discovered ... more

Tuesday, 7 January, 2020 UTC

A Quick Guide to the String Match Method in JavaScript

String.prototype.match() (aka: the match method on strings) can allow you to switch out strings or set conditions if a string or any data is matched. It then stores that data in a new array. First the syntax and then the explanation: let newArray = string.match(condition); ... more

Sunday, 5 January, 2020 UTC

A Tour of the JavaScript Permissions API

If you have ever created a web application which requires different features (like push notifications, webcam access, midi access), you probably noticed that their APIs look very different. // for the geolocation API you need to call getCurrentPosition ... more

Saturday, 4 January, 2020 UTC

Decoding the Vue CLI

The idea behind a CLI (Command Line Interface) is to use simple, editable commands in order to produce a greater output. The Vue CLI is no different. When a new project begins, the last thing a developer should worry about is project scaffolding. Luckily, ... more

Thursday, 2 January, 2020 UTC

Deploying a Docker Application with AWS

In this article, you’ll learn how to use AWS’s Elastic Beanstalk service to deploy your Docker-containerized application. Prerequisites and Starter All you need is a little bit of knowledge about creating images with a Dockerfile, which you can brush ... more

Tuesday, 31 December, 2019 UTC

How to Use Keyboard Listeners in Vanilla JavaScript

In this article, you’ll learn about how to listen to your user’s keyboards to create new and fascinating features for your web apps! Listening to your user’s keyboard is a really handy tool to have. We might not think of it this way, but the browser ... more

Sunday, 29 December, 2019 UTC

V8's V8: Optional Chaining and Nullish Coalescing in JavaScript

I think the V8 team at Google was waiting for this moment for a long time. The 8th version of the V8 engine (the most popular JavaScript engine) is out! This new version comes with some really nice performance improvements and two new cool JavaScript ... more

Saturday, 28 December, 2019 UTC

Parse, Validate, Manipulate, and Display Dates and Times in JavaScript with Day.js

With it’s last release nearly a year ago, the most recent commit over 6 months ago, and hundreds of open bugs and pull requests, it’s starting to seem like Moment.js is slowing down and it’s time to shop for more actively maintained alternatives. Insert ... more

Wednesday, 25 December, 2019 UTC

How to Get Started With the JavaScript Performance API

Performance, performance, performance. You can have the best website in the world, but if it takes 2 minutes to load nobody will see it. If your website takes 2 minutes to load it probably won’t be too hard to figure out why. Optimization is trickier ... more

Monday, 23 December, 2019 UTC

Exploring the Chakra UI React Component Library

Despite my love for Tailwind CSS over other frameworks, I have always been disappointed by the lack of components like what we get with more fully fledged-out frameworks like Bootstrap and Materialize. I recently discovered the perfect solution to this ... more

Friday, 20 December, 2019 UTC

Working with Multiple Containers Using Docker Compose

In this article we’re going to explore how to segment our app into a small network of multiple Docker containers, each with their own images. Single containers are easy enough to build imperatively in the command line, but doing anything more complicated ... more

Friday, 20 December, 2019 UTC

Introduction to CSS Counters

Counters are a big part of programming. They help keep tabs on loops by storing the number of times it’s been executed. Common variable names for increment counters are i , j and k . Before the days of modern CSS, keeping track of things on the page ... more

Thursday, 19 December, 2019 UTC

Looking at All 13 JavaScript Proxy Traps

Proxies are a really cool JavaScript feature. If you like meta programming you probably are already familiar with them. In this article we are not going to get in to programming design patterns or get meta or even understand how proxies work. Usually ... more

Wednesday, 18 December, 2019 UTC

Deploying a Prisma GraphQL API

In this article, we’re going to go over how to deploy your Prisma API for production use for your sites and apps. For the purposes of this article, we’ll be making use of Prisma Cloud and Heroku to deploy our service. Prerequisites You’ll need a basic ... more

Tuesday, 17 December, 2019 UTC

Exploring the indexOf Method for Strings and Arrays in JavaScript

When you need to find an element in an array or a string, indexOf() is one of your best friends. indexOf in Arrays Code first, explanation later: Module: findSpencer.js const zoo = ['🐒', '🦄', '🐊', '🐸', '🐙']; const spencersIndex = zoo.indexOf('🐊'); ... more

Monday, 16 December, 2019 UTC

How To: Publishing Your First Package to npm

Here’s a little guide for publishing your own packages on npm. You’ve written some piece of software code that you think is really useful! Now you want publish it on npm so that others can use your wonderful bundle of code! Firing Up the Terminal There’s ... more