Eslam Hefnawy

  https://github.com/eahefnawy Serverless architect at Serverless, Inc. Co-creator of the Serverless Framework and the lead architect of Serverless Components.

   



9 Stories by Eslam Hefnawy

Prefetching and dynamic routing with Next.js

In addition to out-of-the-box SSR support, Next.js offers link prefetching and dynamic routing features. Explore these features alongside Agility CMS.
0 10 min read

Beginner’s guide to the JavaScript this keyword

We attempt to demystify JavaScript's this keyword and, in doing so, help you practice debugging issues that would otherwise be quite complex.
0 5 min read

How JavaScript closures work, in plain English

Closures are a widely discussed topic in the world of functional programming, but they're often defined loosely and in technical jargon. We'll do our...
0 4 min read

ES6 keyed collections: Maps and sets

JavaScript keyed collections are structured collections of data that store values and provide methods for easily accessing them. In this guide, we’ll take a...
0 5 min read

How TypeScript design patterns help you write better code

This tutorial explains the importance of design patterns in a modern codebase; demonstrates how to implement the observer, builder, and prototype design patterns in...
3 5 min read

Testing state changes in React functional components

This tutorial demonstrates how to test your React functional components and the state changes for components that use hooks, with Jest and Enzyme as...
0 5 min read

Practical use cases for JavaScript ES6 proxies

Metaprogramming is a powerful technique that enables you to write programs that can create other programs. Learn how ES6 proxies make it easier to...
2 5 min read

Understanding symbols in JavaScript

This tutorial demonstrates how to use JavaScript symbols to define unique property values as well as keys for identifying object properties.
0 6 min read

Moving from SCSS to styled-components: Advantages and caveats

Some developers prefer the stability and more universal character of Sass over the novelty of styled-components. But if you're willing to climb the steeper...
3 8 min read