Lawrence Eagles

  Senior full-stack developer, writer, and instructor.


32 Stories by Lawrence Eagles

A guide to React design patterns

Explore the top React design patterns, like the render props pattern and the state reducer pattern, to solve issues experienced by developers.
2 10 min read

Using the CSS :modal pseudo-selector

Learn how to use the awesome and powerful :modal CSS pseudo-selector to intrinsically detect modal elements.
0 5 min read

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 6 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

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