-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS autocomplete for inline style props is a bit slow #187
Comments
We've published a pre-release of Stitches beta 🚀 Core: npm install @stitches/core@0.1.0-canary.0 React: npm install @stitches/react@0.1.0-canary.0 This issue should have been resolved in the beta version. We'd appreciate it if you could verify it. |
Hello @peduarte So it seems autocomplete speed has improved, which is great! However, I spotted two new issues.
Here's a screen recording for more context: stitches-typescript-autocomplete-bugs.movThoughts on this? Please let me know if I'm using Stitches incorrectly in any way. |
Thanks! |
Closing in favour of #393 and https://github.com/modulz/stitches/issues |
Bug report
Describe the bug
Maybe this is more of a clarification than it is a bug. When adding styles to a
styled
component and referencing tokens from the config file, autocomplete has been great and fast.However, when attempting to override the current styles by using the inline
css
prop, autocomplete is a bit slow. This behavior also occurs on non-style props as well (i.e.onClick
and other event handlers).To Reproduce
styled
functioncss
propExpected behavior
Expected fast or same autocomplete speed when referencing tokens through both
styled
function and inlinecss
propsScreen recording
System information
The text was updated successfully, but these errors were encountered: