Comments (2)
@manucorporat I think this issue is for you.
I have investigated the problem, and it seems that on Windows the Optimizer is bypassed. Not sure as to why but the generated code is the original code without code splitting. Something about Windows file-paths (my guess) must be confusing the optimizer in a way that is preventing it from doing its job.
The failure mode is that the code generated on windows is similar too:
const MyCmp = qComponent({
onRender: qHook(() => <span>ABC</span>)
})
Whereas the correct code should be:
const MyCmp = qComponent({
onRender: qHook('./path#symbol')
})
PS: I have created a better error msg for this condition: #127
from qwik.
If I understand the correct result, transforming by the executable qwik.exe
doesn't reproduce the problem.
from qwik.
Related Issues (20)
- [✨] use modulepreload if supported
- [✨] Remove the initial lag for `useAuthSignin`
- Modular Forms input loses focus when projected [🐞] HOT 1
- [🐞]
- [🐞] prisma integration HOT 2
- [🐞] Weird behavior when accessing props value in differents way HOT 2
- Probably meant the mdx HOT 1
- [✨] Add the `unwrapProxy` as a Low-Level API HOT 3
- [📖] Hooks Cookbook HOT 2
- [🐞] Custom hook failing when hook function is named starting with use.* HOT 8
- [✨] HTTP 103 Early Hint
- [🐞] service-worker.js pre-populates the cache for some bundles that are not present on the current page HOT 2
- [✨] Pre-render at build time paths specified by `onStaticGenerate` in Vercel adapter
- [✨]Automatically compress images to support more devices.
- Project Template for "Basic App" does not recognize RouteLoader [🐞]
- [✨] Allow data to be passed in `StaticGenerateHandler`
- [🐞] Warning and errors when validating the generated HTML using Nu Html Checker HOT 1
- [📖] Portal recipe gives a lexical-scope-error
- [🐞] lib mode do not respect custom lib.entry in vite config
- [🐞] Weird location.hash / window.history behaviour HOT 5
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.