The core concept of data structures and algorithms are essential in the field o...
What is the type of NaN? - DEV Community 👩💻👨💻
The Weight of JS - DEV Community 👩💻👨💻
A guide to getting started with IndexedDB for storing large amounts of complex data offline.
UI Design System and Component Library: Where Things Break - DEV Community 👩💻👨💻
Recently at a client, a question came up about unit testing functionality that used setTimeout and setInterval.
Since Docker’s release in 2013, the use of containers has been on the rise, and i...
Why do we need to bind methods inside our class component’s constructor? - DEV Community 👩💻👨💻
JSON.stringify() and JSON.parse() are useful tools for handling JSON-formatted content
Taking a look at potential drawbacks of using Microfrontends and when it doesnât make sense to adopt them.
Michael Wanyoike shows how to set up and run visual testing for your project with Percy, using an API-driven SPA using real-world data. Youâll learn how to visually test UIs that output dynamic data, and about Percyâs visual review and approval workflow.
Learn how to shallow render components for Jest snapshot tests. This way, you will avoid too large snapshot test outputs and too much setup for child components ...
When using the static site generator Gatsby you don’t have a base “App” component to play with. That said, there’s no component that wraps around your whole application where you can put your state that needs to be kept between routes/pages.
Learn your fundamentals, and never worry again.
If you have ever worked with Node js or Express you have properly realized how tedious and haunting it can be to maintain and scale your…
Trolls and bots are disrupting social media—here’s how AI can stop them (Part 1) - DEV Community 👩💻👨💻
Can we use machine learning to identify suspicious posts and comments? The answer is yes, and we’ll show you how.
Tips to write elegant and resilient components - DEV Community 👩💻👨💻
Writing to TypeScript about its wonderful qualities and why I feel in love to it.
reviewing the fundamentals
They're stateful functions.
Useful features of ECMAScript 2019 reviewed - DEV Community 👩💻👨💻
A guide to NPM commands and concepts
A brief journey through recent product changes at Binaris
These tests should never have been written. They provide no or little value. Testing code as been described as an "art form." It is, but it should not be. There are many good patterns that should be followed when writing tests.
TLDR: Coerce yourself to use triple equals.
TypeScript is great but sometimes, using it can turn out to be an unnecessary waste of time.
In this guide, youâll learn how to build a RESTful API server in Node.js using Feathers.js.
Solid methods of improving your JS.
Everyone knows at least one version of the For loop, it’s a classic and probably almost every language out there has a version of it…
Do lots of projects.
My New Friends filter() and map() - DEV Community 👩💻👨💻
The spread operator is a great piece of syntax, but it produces shallow copies. What exactly does that mean? And when does it matter?
Reversing a string using an Iterator - DEV Community 👩💻👨💻
This technique helped me unconsciously to learn fast and remember things I learnt nearly 8 years ago
Hope you guys have not blown your interview just yet because you got caught off-guard with some strange problems you’ve never seen before…
This post piggybacks off of the work done by @avanslaars [https://twitter.com/avanslaars] who is a fellow instructor at egghead.io [https://github.com/avanslaars/code-profiles]. He shared this in the egghead Slack sometime ago and I never got around to setting this up myself. Now, I'm setting up a new laptop and decided to give it shot. Following Andy's repo here [https://github.com/avanslaars/code-profiles], I'm going to walk you through the process so you can follow along. Before we begin,
We take a look at a cool browser API that allows us to convert from speech to text and vice versa.
TypeScript Tutorial for Beginners - DEV Community 👩💻👨💻
The many pet peeves I've noticed developers go through that makes them think others think less of them.
In this post, we'll learn about the FormData interface available in modern web browsers as a part of the HTML5 spec.
Tutorial on how to improve type inference with JSdoc annotations
An introvert's guide to making the most of meetups - DEV Community 👩💻👨💻
Next level editing for the most popular form plugin of WordPress Photo by Pietro...
What Is Elm (and a game I'm making with it) - DEV Community 👩💻👨💻
Form and function - DEV Community 👩💻👨💻
Introducing Floyd Framework - DEV Community 👩💻👨💻
battle of loops
What it is It‘s a simple to implement sort algorithm. In a nutshell, I...
When to use for..of loop instead of for..in - DEV Community 👩💻👨💻
Developing a Website with React, Feature Flags, Netlify and GitHub Actions - DEV Community 👩💻👨💻
The choice of programming language matters deeply to developers because they want to keep their skills up to date and marketable.
This blog explains about the creation of a calendar to effectively manage the usage of the meeting room.
A quick guide to Big O notation
A quick tutorial on how to create eye-catching parallax scroll animations using a modern JS library.
A lesson in how types can help you avoid mistakes
Last night, I vented out my frustration on <link> requiring href to point t...
A step by step tutorial on how to set up an advanced Webpack 4 application. It comes with Babel 7, development and production build, automations, and source maps ...
From Kid to Functional Programmer
These two alternatives to for loops are wonderful, but they do different things. Let's understand them better!
Ternary operators allow us to really quickly write shorter **if** statements Here's a quick example:
Conditions make code harder to read and test. They add nesting and make lines of code longer. Each condition increases the minimum number of test cases you need to write.
For each exercise try to guess the output. What this points to, and more important, why? (Assuming the code is running in a browser).
What your professor won't tell you.
When you are still early on in your programming career, digging into the source code of open source libraries and frameworks can be a daunting endeavor. In this article, Carl Mungazi shares how he got over his fear and began using source code to improve his knowledge and skills. He also uses Redux to demonstrate how he approaches breaking down a library.
Most common web-related programming languages have all the basic operators, and by the time they reach a job opportunity, every developer knows how to use them. But there are some operators that…
jQuery 3.0, the new major release of jQuery finally got released. The web developer community waited for this important step since October 2014, when the
In programming languages, we have statements and expressions. Statements perform an action but Expressions evaluate to some value — it could be of either type: A small tip before we continue: Use…
n this article, we will look at how Sets and Maps work and explore some of the operations that can be performed on them. The objective of these new constructs is to provide easier and more efficient ways to structure and access data under certain use cases.
A little journey into variable definition: from the antiquated var to the fashionable let and const
Suppose that you’re building an e-commerce platform and as part of the exercise, you need to come up with a new data architecture for inventory management. You need to support fast, transactional workloads to actually keep track of inventory in near real-time.
Using the Tornis library to create a parallax and blur effect on a cover image while scrolling.
It automates the process of identifying some common mistakes/nitpicks involved in your JS code, based on predefined patterns which are inspired by some of the best practices in JS. ESLint to the…
Everyone has a different learning style. If other tutorials have left you confused, check out our visual guide to asynchronous JS.
Learn how to create thumbnail to fullscreen animations for image grids using Three.js.
In web development, code reusability has become a strong focus. As a developer, we may have experienced a scenario where we had to use a code segment which represents custom UI controls in multiple…
ES6 generator functions are the functions which can stop its execution in the middle and can resume execution further from the same point. These functions do not return a single value, instead, it is…
Destructuring objects and arrays with an amazing EcmaScript 2015 feature.
4 solutions to callback hell
A tutorial on how to publish a npm package to the npm registry with Node, Babel and Webpack for getting started as an open source contributor ...
Run Node.js inside a Docker container and avoid the famous “works on my machine” excuse!
Imagine you have an e-commerce website and you’re allowing users to create accounts using their name and email. You want to make sure they sign up with real names, not something like cool_dud3. In…
Events are used to respond when a user clicks somewhere, focuses on a link with their keyboard, and changes the text in a form. When I first started
A brief tutorial which shows how to scroll to an item in a React List Component. The scroll event can be triggered from within or outside the component ...
Creating a GraphQL server has never been so easy, thanks to Express and Node.js
When building Single Page Applications a feature I frequently find myself adding is a simple search filter. Nothing too in depth, I'll just want a text field to be able to quickly filter over items to find specific ones. I'm going to share what I do, because it's quick to implement, perfor
Graphs are a data structure comprised of a collection of nodes with edges. A grap...
This article, sponsored by New Relic, provides an introduction to the automated task runner, Gulp.js, and shows how it can be used to improve page size.
Just something I made as a primer. I've tried to condense as much information I...
What Is A Stack? A stack is a data structure that is based on the ...
There is one major advantage to this syntax: It includes the word function, so it is obvious that you are writing a function! A function clearly takes in anywhere from 0 to many arguments and runs a…
- « ‹
- › »
No more pages to load.
No more pages to load.