Search
Run useEffect Only Once
30.7.2019
React has a built-in hook called useEffect. Hooks are used in function components. The Class component comparison to useEffect are the methods componentDidMount, componentDidUpdate, and componentWillUnmount.
useEffect will run when the component renders, which might be more times than you think....
Lightning Network’s Antifraud Methods Inferior to Nakamoto Consensus, Research Shows
17.7.2019
The Lightning Network, the touted scaling solution for the BTC chain, has recently seen its capacity decrease significantly and the beta project is still best suited for a cliche of technically savvy users. Now according to an analysis by Bitmex Research, the Lightning Network’s nodes have...
A Peek at New Methods Coming to Promises
16.7.2019
Promises are one of the most celebrated features introduced to JavaScript. Having a native asynchronous artifact baked right into the language has opened up a new era, changing not only how we write code but also setting up the base for other freat APIs — like fetch!
Let's step back a moment...
Bitcoin Marketplace with 300 Payment Methods Integrating into Large Crypto Exchange
9.7.2019
A crypto trading platform says it is joining the “fast-growing peer-to-peer financial revolution” by integrating a peer-to-peer marketplace that offers more than 300 ways of buying Bitcoin #CT_sponsored #SPONSORED
Collective #530
8.7.2019
Chaos Design * Why is my webpack build slow? * Zfont * Five Methods for Five-Star Ratings
Collective #530 was written by Pedro Botelho and published on Codrops
Five Methods for Five-Star Ratings
5.7.2019
In the world of likes and social statistics, reviews are very important method for leaving feedback. Users often like to know the opinions of others before deciding on items to purchase themselves, or even articles to read, movies to see, or restaurants to dine.
Developers often struggle with with...
Accept Direct Crypto Payments Using the Rocketr Gateway
16.6.2019
It’s in the best interest of businesses to offer their customers a variety of payment options. Cryptocurrencies can undoubtedly bring more buyers and many merchants have introduced support for digital assets. A platform called Rocketr helps merchants accept payments in crypto, including...
Monero (XMR) Price Prediction: The Altcoin is Pushing Toward the Formal Methods of Trading
14.6.2019
Recently, the CEO of Abra Global, Bill Barhydt, in a talk show, discussed how the crypto bank of the future would use digital coins. The interesting part of the whole talk was the addition of Monero (XMR) chips being added as a native option for a withdraw. Another noteworthy fact is that...
Level up your .sort game
10.6.2019
Sorting is a super handy JavaScript method that can display the values of an array in a certain order. Whether that’s real estate listings by price, burger joints by distance, or best nearby happy hours by rating, sorting arrays of information is a common need.
If you’re already doing this with...
Bitcoin Cash Privacy Has Improved in Leaps and Bounds
27.5.2019
Over the last few years, privacy has become of great importance to digital asset enthusiasts as law enforcement has cracked down on money transmitters, seized coin shuffling services, and blockchain analysis has increased significantly. To thwart this, some bitcoiners have turned to mixing...
Code as Documentation: New Strategies with CSS Grid
24.5.2019
I work for Supercool, a fast-moving design agency that makes custom built sites for arts clients, powered by the off-the-shelf system, Craft CMS; it's high-spec graphic design with relatively demanding typography and art direction. Over the past few months we’ve been moving to CSS grid. We’re...
Using Array reduce
14.5.2019
Every developer who specializes in any programming language will tell you there’s a powerful tool the language provides that they rarely use and wish they knew more about. For me, it’s Array.prototype.reduce. I quite enjoy the other Array methods like map, filter, and find, but reduce...
The Circle of a React Lifecycle
23.4.2019
A React component goes through different phases as it lives in an application, though it might not be evident that anything is happening behind the scenes.
Those phases are:
mounting
updating
unmounting
error handling
There are methods in each of these phases that make it possible to perform...
An Illustrated (and Musical) Guide to Map, Reduce, and Filter Array Methods
26.3.2019
Map, reduce, and filter are three very useful array methods in JavaScript that give developers a ton of power in a short amount of space. Let’s jump right into how you can leverage (and remember how to use!) these super handy methods.
Array.map()
Array.map() updates each individual value in...
JavaScript Proxy
26.2.2019
I’ve always loved the flexibility of Objects and prototypes in JavaScript, but for a long time, I felt that a level of dynamism was lacking. JavaScript eventually added get and set methods for object properties, which was an awesome step, but there was still room for improvement....
How to use console in node.js
11.2.2019
Introduction
In this article, we'll learn how to use most methods available in the nodeJS console class more effectively.
To demonstrate, I'll use Chrome browser version 70
JavaScript Glossary: Array .push() Method
8.2.2019
Basics
This methods appends one or more value to the last position of an array. This method mutates the array returning the new length of the array.
let
The Ultimate Guide to JavaScript Algorithms: Finding the Most Recurring Character
23.1.2019
In this challenge, we will be dealing with strings, arrays and objects. We will learn to manipulate these data types using various methods that'd bring us to a working solution in the end.
E
Algorithmic Layouts
10.1.2019
Don't miss this video by Heydon that digs into CSS layouts. It's great how he combines fundamental knowledge, like the way elements flow, wrap, and can have margin with new layout methods like flexbox and grid (with specific examples). Of particular note is the clear demonstration of how flexbox...
Coding Exercise: Build JavaScript Array Methods From Scratch
27.11.2018
https://www.youtube.com/watch?v=ALYH5XOvMwI
There's no better way to ensure that you understand how something works than building yo