avatar

Frontpills

Software Engineer

Disallow AI Training in your web

Protect your original content from being used for AI learning.

Scrollable Element Shadow Hook

Add a right/left shadow cue for a scrollable element that exceeds its container width.

Functional JS: Monads

Programming with monads became very popular with the Haskell language. Nowadays, they can also be used in other languages like JavaScript.

Functional JS: Partial Application and Currying

These two techniques can help you simplify the code, even if the paradigm of your project is not functional.

Functional JS: Functors

Let’s review one of the most interesting concepts within functional programming.

New ES2020 features

ES2020 comes loaded with interesting features. Let’s review the most important ones.

Css Grid Layout 101

CSS Grid is now an established feature of CSS. Gone are the days when float was our only weapon for composing demanding layouts.

React Query Cache Keys

To make more advanced use of react-query requires mastering some strategies for cache management. One of the simplest is centralizing the generation of keys.

React Query Hooks

React Query is arguably the most popular library for React. I’m going to show how I typically use it with a simple example.

Building Blocks: A Scalable React Architecture

React SPA offers the flexibility to create stunning web applications with superb interfaces and user experiences. It falls short, though, in providing guidelines on app organization. Let’s analyze a simple yet robust and scalable architecture solution for your React applications.