We select and review products independently. When you purchase through our links we may earn a commission. Learn more.
X
X
The Best Tech Newsletter Anywhere

Join 425,000 subscribers and get a daily digest of news, geek trivia, and our feature articles.

Sign Up Here arrow indicating signup email field.

How to Use React Contexts to Manage State

React contexts are a feature which help you eliminate repetitive prop drilling. Props are often passed down from a parent component to a deeply nested child. This requires each intermediary component to “forward” the prop to …

What’s New In Node.js 16?

Node.js has launched its latest major version. Released in April 2021, v16 is the new “current” release. In October 2021, it will be promoted to the Long Term Support (LTS) release with maintenance continuing into 2024….

What Is A Progressive Web App (PWA)?

Progressive Web Apps (PWAs) are websites that use a collection of modern web technologies to provide app-like user experiences. Typical PWA features include offline support, background sync and the ability to “install” the si…

How to Run GUI Applications in a Docker Container

Docker’s normally used to containerise background applications and CLI programs. You can also use it to run graphical programs though! You can either use an existing X Server, where the host machine is already running a graph…

How to Sync a Redux Store Across Browser Tabs

Redux is a convenient way to manage state in complex web apps. Your Redux store isn’t synced across tabs though, which can lead to some awkward scenarios. If the user logs out in one tab, it would be ideal for that action to …

How to Use Docker to Containerize PHP and Apache

Docker containers make your app portable across environments. Once you’ve got a container image, you can use it anywhere Docker is available. Here’s how to containerize a PHP web application using the Apache server….

How to Add Persistent Storage to Kubernetes Pods

Kubernetes Pod filesystems are ephemeral by default. This is in keeping with the stateless nature of containers. Persistent data should be stored outside the container, even when it looks like it’s within the container’s file…

Managing Secrets in Kubernetes

Kubernetes Secrets let you store confidential information safely. Using a Secret removes the need to bake sensitive data into manifest definitions or plain container images.

How to Use State in Functional React Components

React components can possess internal “state,” a set of key-value pairs which belong to the component. When the state changes, React re-renders the component. Historically, state could only be used in class components. Using …

What Is The Common Gateway Interface (CGI)?

The Common Gateway Interface (CGI) is a standard defining how external programs can provide information to web servers. CGI provides a mechanism for web servers like Apache to exchange data with programming languages such as …

How to Resize a DigitalOcean Droplet

Droplets are the fundamental computing unit on DigitalOcean. A droplet is a virtual machine with one or more vCPUs. They have a fixed amount of RAM and a dedicated portion of SSD storage.

How to Create Your Own Private Docker Registry

Running your own Docker registry gives you a private place to store your Docker images. Whether you’re in a corporate environment or just want to reduce your reliance on Docker Hub, here’s how you can get up and running with …

How to Use Full-Text Searches in MySQL

Full-Text Search is a database technique which will retrieve records even if they don’t exactly match your search criteria. This enables rich natural language searching that feels more familiar.

How Does Kubernetes Work?

Kubernetes is a container orchestration platform that automates the deployment and scaling of containerized workloads. Kubernetes has gained a reputation for being complex and unwieldy. Here’s how individual components combin…
How-To Geek is where you turn when you want experts to explain technology. Since we launched in 2006, our articles have been read billions of times. Want to know more?