Buckets:
silverwolf-x/project / packages /next-codemod /transforms /__testfixtures__ /next-async-request-api-dynamic-apis /async-api-05.input.tsx
| import { draftMode } from 'next/headers' | |
| export function MyComponent2() { | |
| draftMode().enable() | |
| } | |
| export function useDraftModeEnabled() { | |
| draftMode().enable() | |
| } | |
Xet Storage Details
- Size:
- 166 Bytes
- Xet hash:
- 6492c7ced29e0221b6e824b8432f757190ed7bb603a150ab64da06aed17afaf5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.