Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(schema): support blocking attributes#489

Merged
harlan-zw merged 1 commit into
mainfrom
feat/support-blocking-attrs
Feb 13, 2025
Merged

feat(schema): support blocking attributes#489
harlan-zw merged 1 commit into
mainfrom
feat/support-blocking-attrs

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

A blocking attribute explicitly indicates that certain operations should be blocked on the fetching of an external resource. The operations that can be blocked are represented by possible blocking tokens, which are strings listed by the following table:

Possible blocking token

"render" The element is potentially render-blocking.

useHead({
  style: [
     { textContent: '', blocking: 'render' }
  ]
})

@harlan-zw harlan-zw mentioned this pull request Feb 13, 2025
54 tasks
@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

File Size Gzipped Size Size Diff Gzipped Size Diff
Client 12.5 kB (12834 B) 5 kB (5157 B) 0.00% (0 B) 0.00% ( 0 B)
Server 9.9 kB (10111 B) 4 kB (4072 B) 0.00% (0 B) 0.00% ( 0 B)

@harlan-zw harlan-zw merged commit eb1b084 into main Feb 13, 2025
@harlan-zw harlan-zw mentioned this pull request Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant