mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? We can use codspeed for profiling the build performance, considering that these apps are very small. ### Why? We need an e2e benchmark.
13 lines
221 B
TypeScript
13 lines
221 B
TypeScript
import * as React from 'react'
|
|
import * as Icons from 'lucide-react'
|
|
|
|
export default function Home() {
|
|
const dynamicName = 'Camera'
|
|
const Icon = Icons[dynamicName]
|
|
return (
|
|
<div>
|
|
<Icon />
|
|
</div>
|
|
)
|
|
}
|