Buckets:
| import type { LoaderTree } from '../lib/app-dir-module' | |
| export function hasLoadingComponentInTree(tree: LoaderTree): boolean { | |
| const [, parallelRoutes, { loading }] = tree | |
| if (loading) { | |
| return true | |
| } | |
| return Object.values(parallelRoutes).some((parallelRoute) => | |
| hasLoadingComponentInTree(parallelRoute) | |
| ) as boolean | |
| } | |
Xet Storage Details
- Size:
- 339 Bytes
- Xet hash:
- 2e686efaff9113a211e30aa75c38df261e8de508a64399a244c4f21e3a33579b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.