Maxim Mironjuk | Page 134
Posts by Maxim Mironjuk
-
Nov 13, 2025
Multiple brands or country shops on the same Magento instance need different colors, fonts and sometimes even different layouts, yet want to share the same codebase. Clean Hyvä multi store theming with Tailwind CSS separates shared structure from store specific design tokens, instead of maintaining a full copy of the theme for every brand.
-
Nov 13, 2025
Plain union types describe an either or, plain intersection types describe a both at once, but some signatures need both at the same time. Disjunctive normal form types have allowed exactly that combination since PHP 8.2, with a clear but strictly enforced parenthesis syntax.
-
Nov 12, 2025
Unoptimized images are the single biggest cause of poor Core Web Vitals on most websites. The Nuxt Image module automates format conversion, responsive sizes and lazy loading, so a single component generates the right image for every device and every network connection from a raw upload, without any manual image editing beforehand.
-
Nov 12, 2025
The clone keyword in PHP produces only a shallow copy by default, nested objects remain shared. With the __clone magic method, object cloning can be extended deliberately into a deep copy, including readonly properties and the classic Prototype pattern as a creation strategy.
-
Nov 12, 2025
Blue/Green deployments sound like the perfect zero-downtime solution. For most Magento shops, though, the infrastructure overhead is out of proportion. Symlink releases achieve the same rollback speed at a fraction of the complexity, provided they are set up correctly.
-
Nov 12, 2025
Fuse.js is a lightweight JavaScript library for client-side fuzzy search that pairs well with the statically generated content index of Nuxt Content, without needing to run or pay for an external search service such as Algolia. For a project with a manageable number of content pages, it makes a typo-tolerant search possible entirely in the browser, including weighting titles higher than body text, with no additional server infrastructure required.
-
Nov 12, 2025
Users routinely open web apps in several browser tabs at once. The Broadcast Channel API elegantly solves the resulting synchronization problem: logout, theme switching, session updates and state changes are sent instantly to every open tab, entirely without a server, without WebSocket, without polling.
-
Nov 12, 2025
Create React App is no longer maintained, but an existing project does not migrate itself. Whoever migrates Create React App to Vite has to transfer configuration, environment variables, proxy setup and tests one by one to end up with a faster dev server and no broken builds.
-
Nov 11, 2025
AI-assisted code review reliably catches mechanical problems like style violations, obvious bugs, and missing error handling before human review time gets spent. This article shows what tools like Claude Code are genuinely good at in review, where they fail at business logic and architectural understanding, and how both layers can be combined without replacing human accountability.
-
Nov 11, 2025
A third-party module shows only a placeholder in the Hyvä theme because its frontend still relies on Knockout.js, UI components and RequireJS widgets. Anyone who wants to use it permanently and performantly needs to make it Hyvä compatible: rewrite templates as phtml with Alpine.js, replace LESS with Tailwind utilities and register every script CSP compliant. This article covers the concrete process and the realistic effort involved.