[✨] Create a lint rule for sync$()
#266
mhevery
started this conversation in
Proposals For Qwik
Replies: 4 comments
-
Hello, I`d like to fix this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @Lemon2311 🎉 if you need an help don't hesitate to contact me 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
hello, i am new to Open Source i'd like to work on this please assign me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
We moved this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
Qwik now has a new feature,
sync$()
, however, it comes with limitations. It would be great if there was a lint rule which could flag when the developer is using it improperlyDescribe the solution you'd like
A lint rule
qwik/sync$
which would flag whenever the function inside thesync$()
would close over any variables (other than browser API) and flag it.Describe alternatives you've considered
We will create a Rust check as well, but that one will not be instant, and can't provide that much detail.
Additional context
Beta Was this translation helpful? Give feedback.
All reactions