Macros in Rust: A Tutorial with Examples

Declarative and procedural macros enable metaprogramming in Rust, which can lead to runtime cost savings and more powerful code. | Continue reading


@blog.logrocket.com | 3 days ago

Node.js Logging Best Practices

Logging using Node.js best practices can save hours of debugging work by storing information about each runtime. | Continue reading


@blog.logrocket.com | 5 days ago

V vs. Rust

Comparing Rust's performance and compile-time memory management to Vlang, the newest in software building languages. | Continue reading


@blog.logrocket.com | 17 days ago

Node.js ORMs and why you shouldn’t use them

ORM is a powerful tool, but it adds a layer of complexity that can cause some hiccups. Here's why you may want to avoid ORM in your next project. | Continue reading


@blog.logrocket.com | 1 month ago

Unsafe Rust: How and when (not) to use it

Everything you need to know about getting started with unsafe Rust. Learn to troubleshoot common issues and debunk popular myths. | Continue reading


@blog.logrocket.com | 1 month ago

Use Node.js with Docker and Docker Compose to Improve DX

Node.js and Docker together create a seamless local development environment. See how these tools can improve developer experience. | Continue reading


@blog.logrocket.com | 1 month ago

Coding a GraphQL Server in JavaScript vs. in WP

Explore how building a GraphQL solution for WordPress may diverge from the standard JavaScript guidelines on several circumstances. | Continue reading


@blog.logrocket.com | 2 months ago

How to use ES6 proxies to enhance your objects

In this article, we will cover three things you can do with proxies that will enhance your objects. | Continue reading


@blog.logrocket.com | 2 months ago

Put the TypeScript enums and booleans away

One of the first things I liked about the world of TypeScript was the TypeScript enum. I used them in C# and felt a reassuring familiarity. | Continue reading


@blog.logrocket.com | 2 months ago

Why is Go overtaking Node.js?

This post compares Go and Node.js to help you decide which language is best based on performance, development tools, and other factors. | Continue reading


@blog.logrocket.com | 2 months ago

Why people aren’t switching to Svelte yet

Despite being a lightweight component-based framework, a lot of people are hesitating to adopt Svelte as a framework. | Continue reading


@blog.logrocket.com | 3 months ago

Using a GitHub Action to downgrade a WordPress plugin from PHP 7.4 to 7.1

PHP developers want to have access to the latest features of the language, but for various reasons, they may not be able to. It could be that the client’s server runs on an older version and can’t be upgraded, or the CMS must support legacy code, or the user base would shrink sig … | Continue reading


@blog.logrocket.com | 3 months ago

Switch from Ruby to Crystal

If you like Ruby on Rails, you'll love Crystal. This post explains why Crystal has all the benefits and none of the drawbacks of Ruby. | Continue reading


@blog.logrocket.com | 3 months ago

Snowpack vs. Webpack

So can Snowpack replace webpack? After all, few tools have been as central and important to the JavaScript ecosystem as webpack has. | Continue reading


@blog.logrocket.com | 4 months ago

Transpiling PHP code from 8.0 to 7.1

With Rector, we can write code with PHP 8.0 features and deploy it to an environment running lower versions, all the way down to PHP 7.0 | Continue reading


@blog.logrocket.com | 4 months ago

What’s new in React v17, and the road to v18

A few weeks ago, the React team released the library’s latest version, React v17.0 RC. In this post, we will look into the new changes and updates this new release shipped with. React is a declarative, efficient, and flexible JavaScript library for building user interfaces, and i … | Continue reading


@blog.logrocket.com | 5 months ago

Adding directives to the GraphQL schema when there's no SDL

See how code-first GraphQL servers (which have no SDL) can manage to provide support for schema-type directives. | Continue reading


@blog.logrocket.com | 5 months ago

Rust serialization: What's ready for production today?

In this guide, we'll compare 12 serialization crates in various states of production-readiness, considering API usability and performance. | Continue reading


@blog.logrocket.com | 5 months ago

React Reference Guide: Render Props

An all-in-one reference guide on render props in React, including how to implement render props, how to implement HOCs, and more. | Continue reading


@blog.logrocket.com | 5 months ago

Creating a Gatsby Blog from Scratch

This post provides a crash course in the internal workings of Gatsby by showing you how to build a simple blog on Gatsby from scratch. | Continue reading


@blog.logrocket.com | 6 months ago

How to deploy a React app for free

In this guide, we'll compare eight services built to help you deploy React applications more efficiently. Best of all, they're all free. | Continue reading


@blog.logrocket.com | 6 months ago

Property-based testing in Rust with Proptest

Property-based testing isn’t always the answer, but the very act of considering your code's abstract properties can help you understand it better. | Continue reading


@blog.logrocket.com | 8 months ago

You shouldn’t use inline styling in production React apps

Learn about the inline styling concept in React, and why you shouldn't be using this if you're planning to have a scalable and productive application. | Continue reading


@blog.logrocket.com | 8 months ago

Event-driven state management in React using Storeon

Storeon is a tiny, event-driven React state management library built on the Context API, but with principles similar to Redux — and the same great DevTools. | Continue reading


@blog.logrocket.com | 8 months ago

How to organize your Rust tests

Testing is a cheap, easy way to find bugs. Learn how to write doctests, black- and white-box tests, helpers, fuzz testing and more to test your Rust code. | Continue reading


@blog.logrocket.com | 8 months ago

React top-level APIs that could change the way you write components

In this guide, we'll explore some React top-level APIs that could revolutionize the way you write components in your application. | Continue reading


@blog.logrocket.com | 9 months ago

Smarter Redux with Redux Toolkit

Redux Toolkit was developed to address many of the lingering arguments against using Redux: it reduces boilerplate and simplifies the integration process. | Continue reading


@blog.logrocket.com | 9 months ago

The roundup of React form validation solutions

In this article, we’re going to take a look at some of the most popular solutions for form management and validation in React. | Continue reading


@blog.logrocket.com | 9 months ago

Introduction to Blitz.js

With Blitz, you can deploy your React application as a single entity and add advanced technologies on your terms and at your own pace. | Continue reading


@blog.logrocket.com | 9 months ago

React-cool-portal: What it is and how to use it

React-cool-portal is a new, Hooks-based abstraction over React portals that allows you to render elements outside the root node. | Continue reading


@blog.logrocket.com | 9 months ago

Rust and Node.js: A match made in heaven

Worker threads are great, but they're not available in all supported versions of Node. Fortunately, you can use Rust to build a native add-on for Node.js. | Continue reading


@blog.logrocket.com | 10 months ago

How to use CSS Scroll Snap

This simple, straightforward tutorial shows you how to add a scroll to your page without having to rely on JavaScript libraries. | Continue reading


@blog.logrocket.com | 11 months ago

Things you never knew about Redux DevTool

We will look into some extraordinary features that Redux DevTool offers that can help you debug your applications faster. | Continue reading


@blog.logrocket.com | 11 months ago

React Hooks with Firebase FireStore

When you couple the power of Firestore with simple, efficient React Hooks, you can set up a web app with data persistence in no time. | Continue reading


@blog.logrocket.com | 11 months ago

The complete guide to publishing a React package to NPM

So you want to publish a React component as a package to npm? This guide has all the information you need, even if you’re completely new to it. | Continue reading


@blog.logrocket.com | 11 months ago

Is TypeScript Worth It?

I would like the jury to know that I am, for the most part, a TypeScript fan but I do have some nagging doubts that I would like to discuss in this post. | Continue reading


@blog.logrocket.com | 1 year ago

GraphQL Subscription

GraphQL subscriptions enable you to generate notifications in real time via a pub/sub system when specific events execute. | Continue reading


@blog.logrocket.com | 1 year ago

Learn React Portals in Practical Way

Check out this step-by-step breakdown of a common use case for React Portal and learn how to develop a tooltip component from scratch. | Continue reading


@blog.logrocket.com | 1 year ago

Take control of unexpected data at runtime with TypeScript

TypeScript is a powerful tool that helps you avoid surprising values and identify common errors with minimal configuration. | Continue reading


@blog.logrocket.com | 1 year ago

Rethinking Front-End APM

The modern application stack's center of gravity is shifting toward the frontend, which means application performance monitoring needs to evolve. | Continue reading


@blog.logrocket.com | 1 year ago

Solutions to Frustrations with React Hooks

Hooks are a mind shift, and I think we need to realign our thinking. I was not looking at what they have to offer without wearing React spectacles. | Continue reading


@blog.logrocket.com | 1 year ago

Flutter vs. React Native vs. Xamarin

Should you use Flutter, React Native, or Xamarin? That depends on your project. Find out which framework is best for you in this comparison post. | Continue reading


@blog.logrocket.com | 1 year ago

New in TypeScript 3.7

I have waited a long time for these changes, and I think the TypeScript official announcement does its usual job of underselling the great new features. | Continue reading


@blog.logrocket.com | 1 year ago

The perfect architecture flow for your next Node.js project

A good start is half the battle. Laying out your Node.js project structure is one of the most delicate points of the development process. | Continue reading


@blog.logrocket.com | 1 year ago

Why You Should Use Package-Lock.json

What's package-lock.json and why is it important? Learn how to use this mechanism to capture an exact dependency tree installed at any point in time. | Continue reading


@blog.logrocket.com | 1 year ago

Advances in AI for better, faster web development

Artificial intelligence has already made significant advances in web development, enabling intelligent code completion and automated end-to-end testing. | Continue reading


@blog.logrocket.com | 1 year ago

Crafting Build Pipelines with Docker

In the past, optimizing Docker images was a challenging exercise. But things have been different since Docker added support for multi-stage builds. | Continue reading


@blog.logrocket.com | 1 year ago

Creating a full-stack MERN application using JWT authentication: Part 3

JSON Web Token is today's trending tech in authentication. In part three of our tutorial, we configure our client-side React app. | Continue reading


@blog.logrocket.com | 1 year ago