Lawrence Eagles

  Senior full-stack developer, writer, and instructor.


31 Stories by Lawrence Eagles

Build an API with Serverless Functions in Next.js

Serverless functions are not directly a part of Next.js' API. Next.js provides developers with API routes that can be deployed on Vercel as serverless...
3 6 min read

How to build custom Node.js event emitters

There are two different types of events in Node.js. Learn more about them here as well as how to build custom event emitters.
1 8 min read

Using em vs. rem in CSS

Within CSS, em and rem are both scalable units that also specify values of properties. em and rem are more suited for responsive design.
1 5 min read

Setting up a dev environment with React, Vite, and Tailwind

Vite simplifies the bundling process. It gives us instant dev sever start times and ultra fast bundling by leveraging native JavaScript modules and esbuild.
3 5 min read

How to implement SSL certificate pinning in React Native

Implement SSL pinning in React Native to protect mobile apps from hacks by narrowing down the list of trusted certificates.
1 6 min read

Debugging GraphQL with Altair

Altair is a Chromium developer tool that streamlines debugging methods for GraphQL APIs.
0 5 min read

React dynamic imports and route-centric code splitting guide

Read our route-centric code splitting guide and learn how to speed up your React apps using dynamic imports, React.lazy(), React.Suspense, React Router, and Loadable...
2 7 min read

React component design patterns for 2022

Explore the most recent React design patterns to solve common issues experienced by React developers, including cross-cutting concerns and global data sharing.
2 8 min read

How to use react-native-picker-select

react-native-picker-select, a powerful React Native component that gives you access to the native iOS and Android select interface.
2 5 min read

What’s new in Tailwind CSS v3.0

In the latest Tailwind version, developers are able to apply styles using arbitrary values and properties not possible with past design constraints.
0 6 min read

What’s new in TypeScript 4.5

TypeScript 4.5 includes enhanced Awaited type, supported lib from node_modules, and the realpathSync.native function.
1 7 min read

What’s new in Next.js 12

Next 12 features include performance optimization, React 18 support, middleware, and more. Let’s learn how to use these new features.
0 6 min read