Matyas.
ServicesProjectsExperienceBlogContact
CSGet in touch
Back to Dictionary
reactweb-dev

Context API

React's Context API provides a way to pass data through the component tree without manually threading props through every intermediate level. You create a context with createContext, wrap a subtree with a Provider, and consume the value anywhere below with useContext. It's ideal for global concerns like themes, authentication state, or locale, but should be used judiciously since any change to context value re-renders all consuming components.

#react#web-dev

Related Terms

Container Queries

Container Queries allow CSS styles to respond to the size of a parent container rather than the browser viewport, solving a long-standing limitation of media queries. By marking an element as a containment context with `container-type`, its children can use `@container` rules to adapt their layout based on the container's dimensions. This makes truly reusable components possible — a card component can rearrange itself whether it's in a sidebar or a full-width section.

Next.js

Next.js is a full-stack React framework by Vercel that provides server-side rendering, static site generation, API routes, file-based routing, and built-in optimizations out of the box. Its App Router (introduced in v13) uses React Server Components by default, enabling a new paradigm of server-first rendering with selective client-side interactivity. Next.js has become the de facto standard for production React applications due to its performance optimizations, developer experience, and deployment flexibility.

BEM

BEM (Block Element Modifier) is a CSS naming convention that structures class names as `.block__element--modifier` to create clear, predictable relationships between HTML and CSS. For example, `.card__title--highlighted` identifies a highlighted title element within a card block. While modern tooling like CSS Modules and utility frameworks have reduced BEM's necessity, it remains widely used in large codebases and design systems where explicit naming conventions aid team coordination.

CSS-in-JS

CSS-in-JS is an approach where styles are written directly in JavaScript files, often co-located with the components they style. Libraries like Styled Components, Emotion, and Stitches generate unique class names at build time or runtime, eliminating style conflicts. While it enables dynamic styling based on props and full encapsulation, the trend has shifted toward zero-runtime solutions and utility-first CSS due to performance concerns.

State Management

State management refers to the strategies and tools used to handle, store, and synchronize application data across components in a frontend application. In React, state can live locally in components via `useState`, be shared via Context, or be managed by external libraries like Redux, Zustand, Jotai, or Recoil. Choosing the right state management approach depends on your app's complexity — many apps over-adopt heavy solutions when simpler patterns would suffice.

WebView

A WebView is an embeddable browser component that renders web content (HTML, CSS, JavaScript) inside a native mobile application. It allows developers to reuse existing web code within a native app shell, commonly used for displaying rich content, integrating web-based features, or building hybrid apps. While convenient, WebView-heavy apps typically have worse performance and a less native feel compared to truly native or React Native/Flutter approaches.

All Words
Matyas.

Web apps, mobile apps, AI automation. I help businesses save time and money with tech that actually works.

Links

  • Services
  • Projects
  • Experience
  • Blog
  • Dictionary
  • Contact

Coming Soon

  • Case StudiesSoon
  • Resources

© 2026 Matyas Prochazka. All rights reserved.