@nimibyte/screen-detector-hook - Responsive state primitives for explicit breakpoint and orientation behavior.
Avoids repeated ad-hoc breakpoint detection across product surfaces.
Breakpoint logic drifts when each component implements local media-query assumptions. Control becomes implicit and difficult to reason about.
Trade-offs: It keeps a constrained API for predictable behavior instead of exposing broad responsive DSLs.
Intentionally not solving: Layout systems, CSS abstraction layers, or design-token orchestration.
useScreenDetector(options)breakpoints: Record<string, number>screenlandscapeThis reflects Nimibyte's engineering posture: constrained public surface, explicit trade-offs, and predictable behavior in production. We prioritize maintainable systems over clever runtime tricks.