Maxim Mironjuk | Page 282
Posts by Maxim Mironjuk
-
Apr 18, 2025
shadcn/ui is not a library in the classic sense, it is a catalog of copy-paste components built on Radix UI. Anyone who understands the copy-paste model can build a fully controllable, themeable component library for their own design system on top of it.
-
Apr 18, 2025
Photoshop layer effects right in the browser, no export, no JavaScript. CSS Blend Modes let you build duotone effects, texture overlays and creative typography purely in the stylesheet. The key lies in understanding the math behind multiply, screen and overlay, plus the compositing context that isolation controls.
-
Apr 18, 2025
Hyva ships a minicart and a wishlist out of the box, but a ready-made compare feature is nowhere to be found in the default theme. If your catalog needs one anyway, do not start from scratch: build on Magento's native compare product API and wire it up with a clean Alpine store and a responsive table.
-
Apr 17, 2025
When a production system starts behaving unexpectedly, the quality of your diagnostic toolset decides whether the outage lasts minutes or hours. ps, top, ss, lsof and journalctl together provide a complete picture, provided you know the right flags and combine them into targeted Bash helpers.
-
Apr 17, 2025
Before, After, Around: extend Magento methods without a core override. Plugin chains, sortOrder, limitations and the most important pitfalls fully explained.
-
Apr 17, 2025
The Composite Pattern makes single objects and entire tree structures usable through the same interface. In Magento 2 this shows up especially in price rules, Sales Rule Conditions, layout containers and configuration trees.
-
Apr 17, 2025
Teams that only find slow queries once users complain are working reactively instead of proactively. With slow query log, pg_stat_statements and a clear sampling process, slow queries can be found systematically before they become a production problem, regardless of which database system is in use.
-
Apr 17, 2025
htmx brings AJAX, swap transitions and server-side rendering back into simple HTML attributes, and Tailwind CSS supplies the matching utility-first styling without a separate frontend build. This article shows how loading states, transitions between swaps and dynamically loaded fragments get styled consistently, without needing a complete JavaScript framework.
-
Apr 17, 2025
Parallax scrolling, large zoom transitions, and autoplaying background videos feel modern to many users, but they can trigger genuine nausea, dizziness, and migraines in people with vestibular disorders. The prefers-reduced-motion media query reliably detects this preference in both CSS and JavaScript, enabling a reduced, still functional animation instead of an abrupt interface with no feedback at all.
-
Apr 16, 2025
A theme switch that simply swaps a class is technically correct but feels abrupt. With the View Transitions API, color variables registered through @property, and a slim Alpine.js store, the same switch becomes a soft cross fade in Tailwind CSS v4, without adding a separate JavaScript library.