silverwolf-x's picture
download
raw
421 Bytes
import { useState, useEffect } from 'react'
import _ from 'lodash'
import dynamic from 'next/dynamic'
const One = dynamic(() => import('../components/one'))
const Page = () => {
const [str, setStr] = useState('rad')
useEffect(() => {
setStr(_.pad(str, 7, '_'))
}, [str])
console.log(_)
return (
<div>
page2
<p id="padded-str">{str}</p>
<One />
</div>
)
}
export default Page

Xet Storage Details

Size:
421 Bytes
·
Xet hash:
71acb38214bed7e79b6f8aff68b8c2699f390a551171dcf3ff81845afa49c2a9

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