SalakCode SalakCode
Advanced Frontend Engineering

Master the craft of

frontend engineering

A curated knowledge base of 80+ deep technical concepts every senior developer should know. From hydration to fiber architecture, from CORS to CRDTs.

80+
Articles
10k+
Developers
Expert
Level

All Topics

Browse our collection of 80 frontend engineering topics

Accessibility intermediate level

Accessibility Tree

Understanding the browser's accessibility tree and how screen readers navigate your content

a11y screen-readers dom
1 min read
Accessibility intermediate level

ARIA

Enhance accessibility with ARIA attributes when HTML semantics are insufficient

a11y aria screen-readers +1 more
1 min read
JavaScript Core intermediate level

Async/Await

Modern syntax for handling asynchronous operations in JavaScript with cleaner, more readable code

javascript async promises +1 more
1 min read
Networking intermediate level

Cache Strategies (SWR)

Stale-While-Revalidate and other caching patterns for fast, fresh data

caching performance http +1 more
1 min read
JavaScript Core intermediate level

Closures

Understanding closures - one of JavaScript's most powerful and often misunderstood features

javascript scope functions +1 more
1 min read
Performance intermediate level

Code Splitting

Split your bundle into smaller chunks and load them on demand for faster initial page loads

performance bundling webpack +1 more
1 min read
Accessibility

Color Contrast

Meet WCAG contrast requirements for text visibility and accessibility

a11y design wcag +1 more
1 min read
Architecture intermediate level

Component Composition

Master component composition patterns to build flexible, reusable, and maintainable UI components

architecture components patterns +1 more
1 min read
Advanced
React Internals advanced level

Concurrent React

Understanding concurrent react and its applications in modern web development

react concurrency fiber
1 min read
Security intermediate level

Content Security Policy

Implement Content Security Policy headers to mitigate XSS attacks and control resource loading

security xss headers +1 more
1 min read
React Internals intermediate level

Context API

Pass data through the component tree without prop drilling using React's Context API

react state props +1 more
1 min read
Performance intermediate level

Core Web Vitals

Understand and optimize the three Core Web Vitals metrics: LCP, FID, and CLS for better user experience

performance metrics seo +1 more
1 min read
Security intermediate level

CORS

Understanding and configuring CORS for secure cross-origin requests

security http api
1 min read
Advanced
Architecture advanced level

CQRS Pattern

Command Query Responsibility Segregation separates read and write models for optimized performance and scalability

architecture patterns data +1 more
1 min read
Advanced
Architecture advanced level

CRDTs

Build collaborative applications with CRDTs for conflict-free data synchronization

architecture collaboration sync +1 more
1 min read
Performance intermediate level

Critical Rendering Path

Understanding the sequence of steps browsers take to render web pages and how to optimize them

performance browser optimization
1 min read
Security intermediate level

CSRF Protection

Protect against CSRF attacks using tokens, SameSite cookies, and other security measures

security csrf tokens +1 more
1 min read
Architecture intermediate level

Design Systems

Create reusable component libraries, design tokens, and documentation for consistent user interfaces

architecture ui components +1 more
1 min read
Advanced
Architecture advanced level

Domain-Driven Design

Use Domain-Driven Design principles to model complex business logic and create maintainable software

architecture patterns modeling +1 more
1 min read
Rendering intermediate level

Edge Rendering

Use edge computing to render pages closer to users for faster response times

edge cdn performance +1 more
1 min read
Bundling intermediate level

esbuild

Lightning-fast bundler and minifier written in Go for rapid development builds

bundling esbuild go +1 more
1 min read
Advanced
JavaScript Core advanced level

Event Loop

Deep dive into the JavaScript event loop, call stack, task queues, and the concurrency model

javascript async concurrency +1 more
1 min read
Advanced
Architecture advanced level

Event Sourcing

Persist application state as a sequence of events rather than current state snapshots

architecture events ddd +1 more
1 min read
Advanced
React Internals advanced level

Fiber Architecture

Deep dive into React Fiber, the data structure and algorithm that powers React's concurrent features

react internals concurrency
1 min read
Accessibility intermediate level

Focus Management

Manage focus for modals, dynamic content, and keyboard navigation to ensure accessible user experiences

a11y focus keyboard +1 more
1 min read
Advanced
JavaScript Core advanced level

Generators

Master JavaScript generators for lazy evaluation, async iteration, and creating custom iterables

javascript iteration async +1 more
1 min read
Networking intermediate level

GraphQL

Learn GraphQL for efficient data fetching, type safety, and flexible queries that reduce over-fetching

api query data +1 more
1 min read
Networking intermediate level

HTTP/2

Learn how HTTP/2 multiplexing, header compression, and server push improve page load performance

http protocol performance +1 more
1 min read
Advanced
Networking advanced level

HTTP/3

HTTP/3 uses QUIC to solve head-of-line blocking and improve connection establishment

http protocol quic +1 more
1 min read
Security intermediate level

HTTPS/TLS

Understand HTTPS, TLS certificates, and secure connection establishment

security tls encryption +1 more
1 min read
Rendering intermediate level

Hydration

Understanding the process of attaching event listeners and state to server-rendered HTML

ssr react performance
1 min read
Bundling intermediate level

Import Maps

Native browser module resolution without bundlers using import maps

bundling modules browser +1 more
1 min read
Browser APIs intermediate level

IndexedDB

Build offline-capable applications with IndexedDB, the browser's structured data storage solution

browser storage offline +1 more
1 min read
Browser APIs intermediate level

Intersection Observer

Efficiently detect when elements become visible or hidden in the viewport for lazy loading and animations

browser api performance +1 more
1 min read
Rendering intermediate level

Islands Architecture

Architecture pattern that renders pages as static HTML with interactive components hydrated independently

hydration astro performance +1 more
1 min read
Security intermediate level

JWT Security

Understand JWT structure, signing, verification, and secure implementation practices

security auth tokens +1 more
1 min read
Accessibility intermediate level

Keyboard Navigation

Ensure all interactive elements are accessible via keyboard for users who cannot use a mouse

a11y keyboard navigation +1 more
1 min read
Advanced
Performance advanced level

Layout Thrashing

Prevent expensive forced reflows by batching DOM reads and writes

performance reflow dom +1 more
1 min read
Performance

Lazy Loading

Improve initial page load by deferring non-critical resources until they're needed

performance images code-splitting
1 min read
Networking intermediate level

Long Polling

Implement real-time updates by holding HTTP requests open until data is available

http real-time polling +1 more
1 min read
Advanced
Performance advanced level

Memory Leaks

Common causes of memory leaks and techniques to prevent them in JavaScript applications

performance memory debugging +1 more
1 min read
Advanced
Architecture advanced level

Micro-frontends

Breaking monolithic frontends into independently deployable pieces

architecture microservices scaling
1 min read
Advanced
Bundling advanced level

Module Federation

Webpack Module Federation enables dynamic runtime sharing of code between independent applications

bundling webpack micro-frontends +1 more
1 min read
Architecture intermediate level

Monorepos

Organize and scale frontend projects using monorepo architecture with tools like Nx, Turborepo, and Rush

architecture tooling scaling +1 more
1 min read
Accessibility intermediate level

Motion Preferences

Implement prefers-reduced-motion to respect user preferences and prevent vestibular disorders

a11y animation prefers-reduced-motion +1 more
1 min read
Advanced
Browser APIs advanced level

Mutation Observer

Monitor DOM changes with the Mutation Observer API for building reactive components and debugging

browser api dom +1 more
1 min read
Advanced
Security advanced level

OAuth 2.0

Understand OAuth 2.0 flows for secure third-party authorization without sharing passwords

security auth oauth +1 more
1 min read
Advanced
Rendering advanced level

Partial Hydration

Reduce JavaScript overhead by selectively hydrating only interactive components while keeping static parts server-rendered

hydration performance ssr +1 more
1 min read
Performance intermediate level

Preloading Resources

Use resource hints to prefetch, preload, and prerender resources for faster page loads

performance resource-hints http +1 more
1 min read
JavaScript Core intermediate level

Promises

Understanding JavaScript Promises from the ground up - creation, chaining, error handling, and modern patterns

javascript async promises
1 min read
Advanced
JavaScript Core advanced level

Prototypes

Understanding prototype-based inheritance, the prototype chain, and modern class syntax in JavaScript

javascript oop inheritance +1 more
1 min read
Advanced
React Internals advanced level

React Compiler

Understanding react compiler and its applications in modern web development

react compiler memoization
1 min read
React Internals intermediate level

React Hooks

Master React Hooks including useState, useEffect, useContext, and custom hooks for building modern React applications

react hooks state +1 more
1 min read
Advanced
React Internals advanced level

Reconciliation

Understanding React's diffing algorithm and how it efficiently updates the UI

react diffing vdom +1 more
1 min read
Browser APIs intermediate level

Resize Observer

Monitor element resizes with the Resize Observer API for responsive components without polling

browser api responsive +1 more
1 min read
Networking intermediate level

REST API Design

Master RESTful API design principles, HTTP methods, status codes, and best practices

api rest http +1 more
1 min read
Advanced
Rendering advanced level

Resumability

Qwik's resumability paradigm eliminates hydration overhead by serializing application state and resuming execution

qwik hydration performance +1 more
1 min read
Bundling intermediate level

Rollup

Build JavaScript libraries with efficient tree-shaking and ES module output

bundling rollup libraries +1 more
1 min read
Accessibility intermediate level

Screen Readers

Understand how screen readers work and test your applications for users with visual impairments

a11y screen-readers testing +1 more
1 min read
Accessibility

Semantic HTML

Learn semantic HTML elements that provide meaning and structure to web content for improved accessibility and SEO

a11y html structure +1 more
1 min read
React Internals intermediate level

Server Actions

Next.js Server Actions allow components to call server-side functions seamlessly without API routes

react server forms +1 more
1 min read
Advanced
Rendering advanced level

Server Components

React Server Components enable zero-bundle-size components that render exclusively on the server

react nextjs ssr +1 more
1 min read
Networking intermediate level

Server-Sent Events

Use SSE for unidirectional server-to-browser real-time updates over HTTP

http real-time streaming +1 more
1 min read
Advanced
Browser APIs advanced level

Service Workers

Build Progressive Web Apps with Service Workers for offline functionality, push notifications, and background sync

browser pwa offline +1 more
1 min read
JavaScript Core intermediate level

Stale Closure Problem

Why your useEffect callbacks sometimes use outdated values and how to fix them

javascript react closures
1 min read
Rendering

Static Site Generation

Generate static HTML at build time for fast, secure, and scalable websites

ssg jamstack nextjs +1 more
1 min read
Advanced
Rendering advanced level

Streaming SSR

Stream HTML progressively from server to browser for faster time-to-first-byte and improved perceived performance

ssr react performance +1 more
1 min read
Security intermediate level

Subresource Integrity

Use cryptographic hashes to ensure external resources loaded from CDNs haven't been modified

security cdn integrity +1 more
1 min read
React Internals intermediate level

Suspense

Manage async operations and loading states with React Suspense for better UX

react async data-fetching +1 more
1 min read
Bundling intermediate level

Tree Shaking

How modern bundlers remove unused code and optimize your JavaScript bundles

bundling optimization webpack +1 more
1 min read
Bundling intermediate level

Turbopack

Next-generation bundler built in Rust for instant HMR and fast production builds

bundling turbopack rust +1 more
1 min read
JavaScript Core

Type Coercion

Understanding implicit and explicit type conversion in JavaScript, equality operators, and common pitfalls

javascript types weird-parts
1 min read
Advanced
Performance advanced level

Virtual Scrolling

Implement virtual scrolling to efficiently display large datasets by only rendering visible items

performance lists dom +1 more
1 min read
Bundling

Vite

Lightning fast build tool leveraging native ES modules for instant HMR and optimized production builds

bundling vite esbuild +1 more
1 min read
Browser APIs intermediate level

Web Workers

Use Web Workers to run JavaScript in background threads without blocking the UI

performance multithreading browser
1 min read
Advanced
Browser APIs advanced level

WebAssembly

Leverage WebAssembly to run C, C++, Rust, and other languages at near-native speed in the browser

browser wasm performance +1 more
1 min read
Bundling intermediate level

Webpack

Master Webpack configuration for bundling JavaScript applications with loaders and plugins

bundling webpack build +1 more
1 min read
Advanced
Networking advanced level

WebRTC

Understanding webrtc and its applications in modern web development

real-time p2p media
1 min read
Networking intermediate level

WebSockets

Build real-time applications with WebSockets for bidirectional, low-latency communication between client and server

networking real-time websocket
1 min read
Security intermediate level

XSS Prevention

Learn to identify and prevent XSS vulnerabilities including reflected, stored, and DOM-based attacks

security xss sanitization +1 more
1 min read