gluestack-ui icon indicating copy to clipboard operation
gluestack-ui copied to clipboard

TypeScript Intellisense VSCode slows after Eject Theme

Open mathis-kdio opened this issue 1 year ago • 2 comments

Description

After ejecting the theme following the documentation, VSCode Intellisense performance is poor.

CodeSandbox/Snack link

No response

Steps to reproduce

Follow steps here : https://gluestack.io/ui/docs/home/theme-configuration/customizing-theme/eject-theme

gluestack-ui Version

latest

Platform

  • [X] Expo
  • [ ] React Native CLI
  • [ ] Next
  • [ ] Web
  • [ ] Android
  • [ ] iOS

Other Platform

No response

Additional Information

In my project :

Without import ./config/gluestack-ui.config and config={config} in <GluestackUIProvider >

import { config } from './config/gluestack-ui.config';

<GluestackUIProvider config={config}>
Files:             1169
Lines:           162100
Identifiers:     171524
Symbols:         167738
Types:            48795
Instantiations: 1823801
Memory used:    259132K
I/O read:         0.42s
I/O write:        0.00s
Parse time:       2.95s
Bind time:        0.63s
Check time:       5.13s
Emit time:        0.00s
Total time:       8.72s

With

import { config } from './config/gluestack-ui.config';

<GluestackUIProvider config={config}>
Files:              1397
Lines:            172313
Identifiers:      179729
Symbols:         1351239
Types:             75941
Instantiations: 11298277
Memory used:     637780K
I/O read:          0.33s
I/O write:         0.00s
Parse time:        3.60s
Bind time:         0.69s
Check time:       98.65s
Emit time:         0.00s
Total time:      102.94s

mathis-kdio avatar May 17 '24 18:05 mathis-kdio

Hey @mathis-kdio, Thanks for reporting the issue. We'll look into it.

ankit-tailor avatar May 23 '24 12:05 ankit-tailor

Perhaps this is linked to #2102 ?

DavidAmyot avatar Jul 11 '24 19:07 DavidAmyot