Comments (6)
Hey, i have the same problem, the VSCode Intellisense slows down with @gluestack-ui/themed imports
- "@gluestack-style/react": "latest",
- "@gluestack-ui/config": "latest",
- "@gluestack-ui/themed": "latest",
Platform
- Expo
- React Native CLI
- Next
- Web
- Android
- iOS
from gluestack-ui.
Can you try the latest versions of
@gluestack-style/react
and@gluestack-ui/themed
? Also let me know the diagnostics after the update. It has reduce for me.
No, it did not get better.
Before with my current version:
"@gluestack-style/react": "^1.0.54",
"@gluestack-ui/config": "^1.1.18",
"@gluestack-ui/themed": "^1.1.22",
Files: 1903
Lines: 242215
Identifiers: 332356
Symbols: 976070
Types: 130501
Instantiations: 5812682
Memory used: 769854K
I/O read: 0.05s
I/O write: 0.00s
Parse time: 0.78s
Bind time: 0.21s
Check time: 29.92s
Emit time: 0.00s
Total time: 30.92s
After updating to latest:
"@gluestack-style/react": "^1.0.56",
"@gluestack-ui/config": "^1.1.18",
"@gluestack-ui/themed": "^1.1.24",
Files: 1902
Lines: 242345
Identifiers: 332238
Symbols: 969236
Types: 57002
Instantiations: 4413032
Memory used: 725270K
I/O read: 0.12s
I/O write: 0.00s
Parse time: 0.86s
Bind time: 0.21s
Check time: 29.43s
Emit time: 0.00s
Total time: 30.50s
@ankit-tailor This is 30 seconds for running the diagnostics.. In another project we have for our react frontend website with mui that has twice the amount of files it takes 1.67s. From what I can see from the diagnostics, the amount of types and instantiations is immense compared to if I don't have gluestack installed. Could it be because of some kind of over usage of generic types?
I'm at the point where in our code when I make changes in a file that has gluestack imports I just use the reload window command with vscode instead of waiting because the intellisense is way too slow.
from gluestack-ui.
Similar issue, tsserver gets very slow after importing gluestack.
"@gluestack-style/react": "^1.0.52",
"@gluestack-ui/config": "^1.1.18",
"@gluestack-ui/themed": "^1.1.22",
npx tsc --diagnostics --noEmit
Files: 1298
Lines: 179610
Identifiers: 164305
Symbols: 809868
Types: 136352
Instantiations: 4853127
Memory used: 628113K
I/O read: 0.18s
I/O write: 0.00s
Parse time: 0.81s
Bind time: 0.21s
Check time: 17.78s
Emit time: 0.00s
Total time: 18.81s
from gluestack-ui.
Hi Everyone, we are working on it to fix it ASAP. Thanks for your patience.
from gluestack-ui.
Can you try the latest versions of @gluestack-style/react
and @gluestack-ui/themed
? Also let me know the diagnostics after the update. It has reduce for me.
from gluestack-ui.
@ankit-tailor Any update on this? Anyone else in the gluestack team has this issue?
from gluestack-ui.
Related Issues (20)
- AddIcon doesn't exist? HOT 3
- Switch activeThumbColor type error HOT 4
- Indeterminate progress bar HOT 1
- :initial doesn't animate when placed in sx HOT 1
- use Eject Theme alias ts loses effect HOT 1
- Styled component type errors HOT 3
- Compatilibity with Expo SDK 51 HOT 5
- Just question HOT 1
- Size prop is not working correctly in Icon component HOT 1
- Issues with expo 51 HOT 7
- if the text too long, the toast will overflow. HOT 1
- TypeScript Intellisense VSCode slows after Eject Theme HOT 1
- ModalBackdrop not covering bottom navigation on Android. HOT 6
- The Popover of Android is inconsistent with iOS, and Android is relatively ugly HOT 3
- ModalBackdrop is not working HOT 1
- Nativewind TextInput and TextArea does not apply custom colors defined from config HOT 1
- SVG descendant styles not being applied in dark mode HOT 1
- Not all media query types appear in useMedia hook HOT 1
- Documentation typo HOT 1
- Tests on new project dont pass HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gluestack-ui.