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

mnasyrov / nrgy / 31027435545 / 1
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.5
DEFAULT BRANCH: main
Ran 05 Aug 2026 04:54PM UTC
Files 40
Run time 1s
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

05 Aug 2026 04:53PM UTC coverage: 99.341% (+0.002%) from 99.339%
31027435545.1

push

github

mnasyrov
fix: invalid hook call in useController() under React.StrictMode

The remount cycle of StrictMode recreates the controller inside
useEffect(), and createHookContext() invoked the extension providers
there. Providers may call React hooks (like the provider of
@nrgyjs/ditox-react), so the recreation failed with 'Invalid hook
call' because the hooks were invoked outside of rendering.

Now the providers are invoked in the body of useController() on every
render, and the controller is constructed with the captured extension
params via provideExtensionParams(). It also makes the HACK branch
with the compensating invocation of the providers unneeded.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

243 of 247 branches covered (98.38%)

Branch coverage included in aggregate %.

661 of 663 relevant lines covered (99.7%)

6009.71 hits per line

Source Files on job 31027435545.1
  • Tree
  • List 40
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 31027435545
  • ae337442 on github
  • Prev Job for on fix/use-controller-strict-mode (#26576182689.1)
  • Delete
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