Maxim Mironjuk | Page 108
Posts by Maxim Mironjuk
-
Dec 18, 2025
A progress bar that fills as you scroll, or an image with a parallax effect, used to be built almost exclusively with a JavaScript scroll listener recalculating on every scroll event. With scroll-timeline and view-timeline, the browser handles this natively, in sync with the compositor thread, with no script at all.
-
Dec 18, 2025
A stored execution plan gets compiled for a first, unrepresentative parameter value and then reused for every subsequent call, even when the data distribution behind those calls looks completely different. Parameter sniffing is not random instability, it is a logical consequence of how query planners cache execution plans. Understanding the mechanism means recognizing the symptoms immediately and choosing deliberately between statistics maintenance, query hints, and plan guides.
-
Dec 18, 2025
HTTP PATCH is the most commonly misimplemented method in REST APIs. The reason: there are two standardized variants with very different semantics, and most implementations invent a third, proprietary variant that is neither documented nor consistent. Merge Patch and JSON Patch solve real problems, but different ones.
-
Dec 17, 2025
Lighthouse wires GraphQL schemas directly onto Eloquent models, without requiring a dedicated resolver for every field. Instead of building PHP classes, SDL directives like @hasMany, @paginate and @guard describe the entire connection to the database, relationships and middleware. Anyone already familiar with Laravel conventions gets productive with Lighthouse quickly.
-
Dec 17, 2025
Typing the same change ten times by hand wastes time that PhpStorm's multi-cursor editing and column selection handle in seconds. Together, both techniques cover nearly every repetitive text change in the editor.
-
Dec 17, 2025
A network outage should never mean a dead app. With cache persistence, a mutation queue for pending changes, and thoughtful conflict resolution, a GraphQL application can be built so users keep reading, keep working, and keep making changes while the connection is waited on in the background.
-
Dec 17, 2025
When eight hours sit between a commit and its review, a good branching plan alone is not enough. Distributed teams need a Git workflow built for asynchronous communication.
-
Dec 17, 2025
WebSocket-based GraphQL Subscriptions bring bidirectional communication that most realtime use cases don't even need. Server-Sent Events, as a GraphQL Subscriptions alternative, offer a simpler, HTTP-native path for unidirectional updates, without a custom protocol, a custom reconnect mechanism, or extra infrastructure.
-
Dec 17, 2025
Alpine.js keeps x-data deliberately untyped, which is fine for small snippets but quickly turns into silent bugs, mistyped property names and hard to maintain code once Hyva components grow larger. This article walks through typed factory functions, JSDoc based typing without a build step and a lightweight TypeScript pattern that stays CSP compliant, respects Hyva's no-build philosophy and still delivers real type safety for teams and complex components.
-
Dec 17, 2025
Data Loaders are a new feature in Vue Router 4.4+ that bind data requests directly to a route and run them before navigation completes, instead of fetching data only after the target component has mounted through onMounted. That shifts responsibility for loading state and error handling out of individual components and into a central layer managed by Vue Router itself.