Buckets:
silverwolf-x/project / test /development /pages-dir /client-navigation /fixture /pages /head-dynamic.js
| import Head from 'next/head' | |
| import React from 'react' | |
| function Foo() { | |
| const [displayed, toggle] = React.useState(true) | |
| return ( | |
| <> | |
| {displayed ? ( | |
| <Head> | |
| <title>B</title> | |
| </Head> | |
| ) : null} | |
| <button onClick={() => toggle(!displayed)}>toggle</button> | |
| </> | |
| ) | |
| } | |
| export default () => { | |
| return ( | |
| <> | |
| <Head> | |
| <title>A</title> | |
| </Head> | |
| <Foo /> | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 439 Bytes
- Xet hash:
- 27d368e132e86ec8fcb776fa75fe4d13b74c1284e803c205bef29b7ae7f17cec
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.