Comments (5)
- you're using useSignal the second time when you should use useComputed$
- you should use the onInput$ event. This may be why it is jumpy.
- you should test the boolean signals by reading
.value
. This might be causing rerenders which also might cause the jumpiness.
Then generically:
- you should use the second argument to events, it is correctly typed too.
bind:value={signal}
implements this for you.- for forms, consider using modular-forms
- for small reproductions that don't use routing, it's nicer to use https://qwik.dev/playground because you can easily see the generated code
Let me know if you still have trouble after this.
from qwik.
@Nefcanto any update?
from qwik.
@wmertens, today I got a chance (time) to test it. The main point was to use onInput$
instead of onKeyDown$
as you mentioned. While I found that the onInput$
is defined here, it would be awesome if it got its own section on the Events page too. Because I used onKeyDown$
instead of onChange$
based on the content of that page and based on on{EventName}$
formula.
Thank you.
from qwik.
@Nefcanto great to hear it's good now!
If you could spare some time to update the events page so it would have stood out to you, that would be great too!
from qwik.
@wmertens, sorry to answer late. I would love to, but I'm afraid I can't. As I have mentioned many times, I was not able to run a successful clone of Qwik.
from qwik.
Related Issues (20)
- [✨] How to contact for security issues & Adding security policy HOT 1
- [🐞]Form gets checkbox data HOT 6
- [🐞] Version 1.5.3 build is broken: Cannot load native addon because loading addons is disabled HOT 11
- [🐞] Duplicate export on "npm run build.client"
- [📖] prevent scrollbar reset for sidebar
- [📖] replace p element in starters HOT 2
- [✅] fixes for all "Error: Missing Qwik City Env Data" HOT 9
- [🐞] Non-deterministic builds
- [📖] onLoad$ img cookbook
- [🐞] SSG ignoring the index page when trailingSlash is false HOT 3
- [🐞] Disable Link prefetch true by default HOT 2
- [📖] Sidebar Issue HOT 2
- [✨] How to distinguish between link preload and page visit HOT 2
- [🐞] Qwik dev server fails when using mkcert/https because of http2 headers HOT 1
- [📖] Copy the current Qwik docs homepage
- [✨] Throw server$ errors with a specific status code HOT 4
- [🐞] Attribute re-render on spread in polymorphism does not work correctly HOT 1
- [🐞] Route is broken with deep nesting HOT 4
- [✨] Automatic simple 404 responses for file requests HOT 9
- [✨] Create a unique file name for each version of service-worker.js HOT 16
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 qwik.