Skip to content

KandZ - Tuts

  • Benchmarks ▾
    • CPU
    • GPU
  • Operating Systems ▾
    • Linux ▾
      • Distros ▾
        • Fedora
        • Other Distros
        • Ubuntu
      • Gnome 48
      • KDE
      • LFCA - Linux Foundation Certified IT Associate
      • LFCS - Linux Foundation Certified Sysadmin
      • Linux CLI
      • Various
  • Other
  • Programming ▾
    • Frameworks & Libraries ▾
      • Angular
      • React
      • Tailwind CSS
      • Vue.js
    • Languages & Runtimes ▾
      • CSS
      • Dart
      • HTML
      • JavaScript
      • Node.js
      • Rust
      • SQL
      • TypeScript
    • Tools ▾
      • Docker
      • Git
  • Tools
  • Windows ▾
    • Windows 11
KandZ - Tuts
AngularCSSDartDockerGitHTMLJavaScriptNode.jsReactRustSQLTailwind CSSTypeScriptVue.jsFedoraGnome 48KDELFCA - Linux Foundation Certified IT AssociateLFCS - Linux Foundation Certified SysadminLinux CLIOther DistrosUbuntuVariousCPUGPUOtherToolsWindows 11
  • Tailwind CSS 45 🎨 Extension via Native CSS Plugins (@plugin Directive)
    Programming | Frameworks & Libraries | Tailwind CSS

    Tailwind CSS 45 🎨 Extension via Native CSS Plugins (@plugin Directive)

    ByKandZ October 11, 2026October 11, 2026

    The @plugin directive is Tailwind v4’s mechanism for loading JavaScript-based plugins in a CSS-first configuration. In v3, plugins were registered in the plugins array of tailwind.config.js. In v4, the configuration moves to CSS, and the @plugin directive is the replacement. It loads a plugin from a package name or a local path, and it can…

    Read More Tailwind CSS 45 🎨 Extension via Native CSS Plugins (@plugin Directive)Continue

  • Tailwind CSS 44 🎨 Custom CSS Directives (@utility and @variant)
    Programming | Frameworks & Libraries | Tailwind CSS

    Tailwind CSS 44 🎨 Custom CSS Directives (@utility and @variant)

    ByKandZ October 11, 2026October 11, 2026

    The @utility and @variant directives are the two primitives that make Tailwind v4’s CSS-first configuration work. @utility registers a custom utility class with Tailwind’s variant system, so the class supports hover:, md:, dark:, and every other variant. @variant applies a variant inside a CSS rule, replacing the @screen directive from v3 and the hover: prefix…

    Read More Tailwind CSS 44 🎨 Custom CSS Directives (@utility and @variant)Continue

  • Tailwind CSS 43 🎨 Reusing Utility Sets with @apply and Custom Utility Definitions
    Programming | Frameworks & Libraries | Tailwind CSS

    Tailwind CSS 43 🎨 Reusing Utility Sets with @apply and Custom Utility Definitions

    ByKandZ October 11, 2026October 11, 2026

    Utility-first CSS has a well-known friction point. When the same set of utilities appears on every instance of a component — a button, a card, a badge — the markup is repeated, and a change to the pattern requires editing every occurrence. The @apply directive is Tailwind’s answer. It takes a list of utility classes…

    Read More Tailwind CSS 43 🎨 Reusing Utility Sets with @apply and Custom Utility DefinitionsContinue

  • Tailwind CSS 42 🎨 Native CSS Cascade Layers (@layer theme, base, components, utilities)
    Frameworks & Libraries | Programming | Tailwind CSS

    Tailwind CSS 42 🎨 Native CSS Cascade Layers (@layer theme, base, components, utilities)

    ByKandZ October 11, 2026October 11, 2026

    Tailwind v4 made a structural decision that changes how every custom style is authored: it stopped hijacking the @layer at-rule and handed control back to the browser’s native CSS cascade layers. In v3, @layer base, @layer components, and @layer utilities were Tailwind-specific directives that the framework intercepted, reordered, and purged. In v4, those same at-rules…

    Read More Tailwind CSS 42 🎨 Native CSS Cascade Layers (@layer theme, base, components, utilities)Continue

  • Tailwind CSS 41 🎨 Custom Boolean and Value Data Attributes Variants (data-*)
    Programming | Frameworks & Libraries | Tailwind CSS

    Tailwind CSS 41 🎨 Custom Boolean and Value Data Attributes Variants (data-*)

    ByKandZ October 11, 2026October 11, 2026

    Data attributes are the bridge between JavaScript-managed state and CSS styling. A component’s state — whether a menu is open, whether a tab is active, whether a form is submitting — often lives in a JavaScript variable or a framework’s internal state. The data attribute makes that state visible to CSS. data-state=”open” on a dropdown…

    Read More Tailwind CSS 41 🎨 Custom Boolean and Value Data Attributes Variants (data-*)Continue

  • React 45 ⚛️ Memoizing Callback Functions with useCallback
    Programming | Frameworks & Libraries | React

    React 45 ⚛️ Memoizing Callback Functions with useCallback

    ByKandZ October 11, 2026October 11, 2026

    useCallback is the function-specific version of useMemo. It returns a memoized function that only changes identity when its dependencies change. The comparison is the same: on every render, React compares the dependency array, and if the dependencies are unchanged, it returns the same function reference from the previous render. If a dependency has changed, it…

    Read More React 45 ⚛️ Memoizing Callback Functions with useCallbackContinue

  • React 44 ⚛️ Memoizing Calculated Values with useMemo
    Programming | Frameworks & Libraries | React

    React 44 ⚛️ Memoizing Calculated Values with useMemo

    ByKandZ October 11, 2026October 11, 2026

    A React component re-renders when its state changes, when its props change, or when a parent re-renders. On every re-render, the entire component function runs from top to bottom. Every variable is recreated, every computation is repeated, and every object literal is a new object. Most of the time this is fine. A few arithmetic…

    Read More React 44 ⚛️ Memoizing Calculated Values with useMemoContinue

  • React 43 ⚛️ Storing Mutable Values with useRef
    Programming | Frameworks & Libraries | React

    React 43 ⚛️ Storing Mutable Values with useRef

    ByKandZ October 11, 2026October 11, 2026

    useRef returns a plain object with a single property, current. React creates that object once, on the first render, and returns the same object on every subsequent render. Nothing about the object is special. It is not a proxy, it is not reactive, and it is not tracked by the reconciler. It is a box….

    Read More React 43 ⚛️ Storing Mutable Values with useRefContinue

  • React 42 ⚛️ Accessing DOM Elements with useRef
    Programming | Frameworks & Libraries | React

    React 42 ⚛️ Accessing DOM Elements with useRef

    ByKandZ October 11, 2026October 11, 2026

    React is declarative. You describe what the UI should look like for a given state, and React updates the DOM to match. Most of the time, you never touch the DOM directly. But some operations are inherently imperative. Focusing an input, scrolling to a position, measuring an element’s size, playing a video, or integrating a…

    Read More React 42 ⚛️ Accessing DOM Elements with useRefContinue

  • React 41 ⚛️ Combining Context and useReducer
    Programming | Frameworks & Libraries | React

    React 41 ⚛️ Combining Context and useReducer

    ByKandZ October 11, 2026October 11, 2026

    A reducer centralizes state transitions. A context distributes state across the tree. Each solves a different problem in isolation: useReducer gives a component a single function that computes the next state from the current state and an action, and createContext gives a component a way to make a value available to every descendant without prop…

    Read More React 41 ⚛️ Combining Context and useReducerContinue

Page navigation

1 2 3 … 160 Next PageNext

© 2026 KandZ - Tuts - WordPress Theme by Kadence WP

    Search