Export useNarrowContainer from the package index (container-width layouts in consumers)
Maintainers usually reply within 1 day
@Foxhoundn is already working on this.
Since Oct 7, 2026.
Assessment
This issue has not been assessed yet.
Description
What the landing page needs
useNarrowContainer (src/hooks/useNarrowContainer.ts) exported from the package index, next to useReqoreProperty:
import { useNarrowContainer } from '@qoretechnologies/reqore';
Today it is only reachable as @qoretechnologies/reqore/dist/hooks/useNarrowContainer.
Why
qorus.cloud's "How it works" diagram (qorus-saas-landing PR #19, redesign package WP6) puts HTML words around an SVG: system tiles on the left, labels beside a node. Under about 680px of its own width the words no longer fit, and the diagram switches to a stacked "strip" of Reqore callouts. That is a container-width decision, not a viewport one: Reqore's isMobile (480px) leaves small tablets and phones in landscape squeezed, and a CSS container query does not work through styled-components 5 (the hook's own comment explains why). useNarrowContainer is exactly the measurement needed.
A deep dist/ import would work, but the site keeps to the package's public entry: in the site's Vitest/Storybook runs a new deep import is discovered after the dependency pre-bundle and re-optimises it mid-run ("Failed to fetch dynamically imported module").
What the site does meanwhile
A ten-line local hook (ResizeObserver on the diagram's wrapper, the screen width as the first guess) in src/components/home/ConvergenceDiagram.tsx, marked TODO(reqore) with this issue; it is swapped for the import once a release exports the hook.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 0
- Avg merge
- 16h 28m
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from qoretechnologies/reqore
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
qoretechnologies/reqore#725 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
qoretechnologies/reqore#711 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
qoretechnologies/reqore#675 ·
Maintainers usually reply within 1 day
-
Checkbox: a long description pushes the control out of its container — the label column cannot shrinkPossibly taken @Foxhoundn claimed this 53 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
qoretechnologies/reqore#662 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
qoretechnologies/reqore#745 ·
Maintainers usually reply within 1 day
All issues in qoretechnologies/reqore
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zabuton-app/meguri#875 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
iruzen-dono/workless#117 ·
Maintainers usually reply within 1 day
-
area:api area:web wave wave:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vetro-protocol/vetro-monorepo#1321 ·
Maintainers usually reply within 1 day