silverwolf-x's picture
download
raw
1.07 kB
/* eslint-disable no-undef */
import {
ClientValue,
ClientExpr,
ClientNumber,
ClientBoolean,
} from './client-component'
export default function Page() {
return (
<ul>
<li>
Server value:{' '}
{typeof MY_MAGIC_VARIABLE === 'string' ? MY_MAGIC_VARIABLE : 'not set'}
</li>
<li>
Client value: <ClientValue />
</li>
<li>
Server expr:{' '}
{typeof process.env.MY_MAGIC_EXPR === 'string'
? process.env.MY_MAGIC_EXPR
: 'not set'}
</li>
<li>
Client expr: <ClientExpr />
</li>
<li>
Server number:{' '}
{typeof MY_NUMBER_VARIABLE === 'number'
? String(MY_NUMBER_VARIABLE)
: 'not set'}
</li>
<li>
Client number: <ClientNumber />
</li>
<li>
Server boolean:{' '}
{typeof MY_BOOLEAN_VARIABLE === 'boolean'
? String(MY_BOOLEAN_VARIABLE)
: 'not set'}
</li>
<li>
Client boolean: <ClientBoolean />
</li>
</ul>
)
}

Xet Storage Details

Size:
1.07 kB
·
Xet hash:
b7940f407fd2ba54961f128809ac4ba62c5c35b1a7acd84323e5b4b31008dde6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.