Comments (2)
Loading JS on click would cause noticable lag.
In dev mode, Qwik fetches JS on hover, and in production it fetches when the component is visible.
See the advanced docs for more information.
Closing as this is expected, but thanks for reporting concerns!
from qwik.
Thx for explanation but in production it is not just fetching when the component is visible but like I tried to describe.
If the code is not touching qwik it si loading on click.
Cheers
from qwik.
Related Issues (20)
- [🐞] Failed Cloud Run Deployment after `npm run qwik add cloud-run` HOT 4
- [🐞] Cookie not set when using `$server` HOT 2
- [🐞] Error with TailwindCSS 4 when used in Qwik HOT 4
- [🐞] onClick$ not always fired HOT 2
- [🐞] SPA resume (probably) needs to be fixed for upcoming v2 changes HOT 5
- [🐞] qwik-city: vite base doesn't work in dev mode HOT 4
- [🐞] requestEvent.url.hash is always the empty string, even when the URL contains a hash HOT 1
- [🐞]icons not working in production or in preview mode HOT 1
- [🐞] Qwik server crashes when entering multiple slashes at the end of a home route
- [🐞] Sitemap is not generating / finding routes when using localized routing HOT 1
- [✅] The Edge Function "_qwik-city" is referencing unsupported modules HOT 1
- [🐞] useStylesScoped$ doesn't support nested CSS HOT 8
- [🐞] Qwik Insights returns 500 error for fetching data/strategy HOT 3
- [🐞] Invalid module "@qwik-city-plan" is not a valid package name imported from HOT 12
- [🐞] Error Integrating React Libraries (Material ui) in Qwik Framework HOT 1
- [🐞] ERR_TOO_MANY_REDIRECTS – Redirect loop on qwik.dev HOT 2
- [🐞] Qwik Form resets translated strings on submit to original language (qwik-speak) HOT 2
- [🐞] Cannot use node.js module inside Endpoint because of rollup compilation error HOT 4
- [✨] feat: add support for eslint flat config - eslint-plugin-qwik HOT 3
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.