Buckets:
silverwolf-x/project / packages /next /src /server /app-render /instant-validation /boundary-tracking.tsx
| export type ValidationBoundaryTracking = { | |
| requiredIds: Set<string> | |
| renderedIds: Set<string> | |
| } | |
| export function createValidationBoundaryTracking(): ValidationBoundaryTracking { | |
| return { | |
| requiredIds: new Set(), | |
| renderedIds: new Set(), | |
| } | |
| } | |
| export function allRequiredBoundariesRendered( | |
| state: ValidationBoundaryTracking | |
| ): boolean { | |
| for (const id of state.requiredIds) { | |
| if (!state.renderedIds.has(id)) { | |
| return false | |
| } | |
| } | |
| return true | |
| } | |
Xet Storage Details
- Size:
- 474 Bytes
- Xet hash:
- 2ce3a4fe4df83162c907c5800f4171c59e27f191628c58edefe60289282b7215
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.