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

infernojs / inferno / 7922
93%

Build:
DEFAULT BRANCH: master
Ran 13 May 2023 10:47AM UTC
Jobs 1
Files 93
Run time 2s
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

pending completion
7922

push

travis-ci-com

web-flow
Feature support for async prefetch in inferno-router (#1621)

* initial code

* test beginning to work

* working implementation with server side prefetch of loaders for SSR + rehydration

* Fixed call to loader on first render

* Fixed tests and added SSR and browser render

* Moved SSR render test to inferno-server

* Shrink and move

* Use async await on server

* Fix tests

* renamed loaderData to initialData

* Pass match params to async loader

* Move first invokation of loader to lifecycle hook where it belongs

* The condition can be solved through recursion for readability and reduced bundle size

* Some tests working

* Fixed regression bugs

* Remove moved code

* Improve typing and structure components to be more similar. Added switch test

* Added demo application to test inferno-router with async loading

* Added note on possibly false test

* unused props

* Demo: SSR (WIP) with resolving of loaders and using Parcel to transpile app on startup

* Serve a proper SSR page to browser

* SSR and hydration

* Moved invocation of loader to Router

* Fixed redirect issue that broke Switch tests

* Notes for investigation of request

* Demo using params in loader

* Added test with params

* First, dumbed down, try at adding request param and AbortController to allow cancelling inflight fetch on consecutive navigation WIP

* Add test for abort signal on nav

* Fix demo

* Remove duplicate code in inferno-server

* Simplify inherited code

* Simplify again, Location objects return a href string

* Change deprecated call, cleanup and and typing

* Switch only renders first match so bailing out early

* Don't traverse deeper if Route doesn't match

* Removed loader code in Switch since it is handled by Router now

* Change name to loaderData for individual match

* Fixed SSR-rendering and added base argument to traverseLoaders to allow creating fully qualified URI from r... (continued)

885 of 1035 branches covered (85.51%)

135 of 135 new or added lines in 10 files covered. (100.0%)

3218 of 3447 relevant lines covered (93.36%)

2512.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
54.05
0.0% packages/inferno-router/src/StaticRouter.ts
7
86.54
packages/inferno-router/src/resolveLoaders.ts
Jobs
ID Job ID Ran Files Coverage
1 7922.1 13 May 2023 10:47AM UTC 93
93.36
Travis Job 7922.1
Source Files on build 7922
  • Tree
  • List 93
  • Changed 46
  • Source Changed 9
  • Coverage Changed 46
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Build #7922
  • b1befe93 on github
  • Prev Build on master (#7913)
  • Next Build on master (#13603195751)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc