feat: convert components to dynamic imports for improved performance (#22614)
This commit is contained in:
parent
1f9cd99bc2
commit
b035f3f884
37 changed files with 493 additions and 472 deletions
|
|
@ -1,5 +1,6 @@
|
|||
'use client'
|
||||
|
||||
import React from 'react'
|
||||
import type { FC } from 'react'
|
||||
import { init } from 'emoji-mart'
|
||||
import data from '@emoji-mart/data'
|
||||
|
|
@ -71,4 +72,4 @@ const AppIcon: FC<AppIconProps> = ({
|
|||
</span>
|
||||
}
|
||||
|
||||
export default AppIcon
|
||||
export default React.memo(AppIcon)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue