Ross ROSS = Recommend OSS · open-source software intelligence for agents

duskload/react-device-detect

Detect device, and render view according to detected device type. observed · 2026-08-28

github.com/duskload/react-device-detect · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3242
  • days_rel: n/a
  • days_push: 792
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2922 stars · 155 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A React library that detects device type, browser, and OS via user-agent sniffing and provides components and selectors to conditionally render views per device. It offers view components like BrowserView and MobileView plus boolean selectors such as isMobile and isIE.

Use cases

  • render different components on mobile vs desktop in react
  • detect if user is on a tablet or phone
  • show a browser-not-supported message for IE users
  • conditionally render content based on device type
  • detect smart tv or console browsers in a react app
  • get browser name and device model from user agent

When to choose

  • you need to detect specific browsers or device categories, not just screen size
  • you want ready-made React view components for per-device rendering
  • you need SSR-compatible device detection hooks and selectors

When to avoid

  • you only need responsive layouts - use CSS media queries or matchMedia instead
  • you need reliable feature detection rather than user-agent sniffing
  • user agents may be spoofed or reduced in your target browsers

Facets

library · maturity maintenance

ui-components state-management frontend web-development mobile-development browser react user-agent-sniffing device-detection responsive-rendering browser-detection nodejs web-server

2 sources

Member repositories

RepositoryRoleHealth v2
duskload/react-device-detectmain23

For agents

markdown · JSON · MCP: product_card(name="duskload/react-device-detect")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem