• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nearform / graphql-hooks / 39796040411
76%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2026 02:32PM UTC
Jobs 1
Files 31
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2026 02:29PM UTC coverage: 76.09%. Remained the same
39796040411

push

github

web-flow
fix(graphql-hooks-ssr): make the peer range installable and restore React 18 (#1297)

* fix(graphql-hooks-ssr): make the peer range installable and restore React 18

Dependabot's react-dom bump (#1223) left master unusable without
--legacy-peer-deps on any React, and broken at runtime on React 18:

- peerDependencies are react ^18 with react-dom ^19, which no React version
  satisfies: npm install fails with ERESOLVE under React 19 and under React 18.
  With --legacy-peer-deps React 19 works.
- index.js now requires 'react-dom/server.edge', which react-dom 18 does not
  export, so React 18 fails with ERR_PACKAGE_PATH_NOT_EXPORTED.

Published 3.0.1 used react-dom/server. Go back to it, which is all the package
needs (it only calls renderToStaticMarkup), and declare both peers as
^18.0.0 || ^19.0.0, matching graphql-hooks.

Refs #1295

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* test(graphql-hooks-ssr): render a real app against React 18 and 19 in CI

The unit tests mock the client and run on the workspace's React 19, which is
how the React 18 breakage went unnoticed. test-react/smoke.js packs the built
graphql-hooks, graphql-hooks-memcache and graphql-hooks-ssr, installs them with
the given React major into a temp directory, and runs a query through useQuery
with a stubbed fetch via getInitialState. CI runs it for 18 and 19 after the
build.

Add a files allowlist so the script is not published; this also stops shipping
index.test.tsx.

Refs #1295

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

517 of 711 branches covered (72.71%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

600 of 757 relevant lines covered (79.26%)

64.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39796040411.1 22 Oct 2026 02:32PM UTC 59
76.91
GitHub Action Run
Source Files on build 39796040411
  • Tree
  • List 31
  • Changed 22
  • Source Changed 1
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39796040411
  • 680454f8 on github
  • Prev Build on master (#39793451701)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc