Closed daltongray closed 1 year ago
looking at it!
Hello! What I encountered following the installation instructions here https://qwik.builder.io/qwikcity/integrations/react/, as follows: npm create qwik cd to-my-app npm run qwik add react npm run dev and after that going to the page and interacting with the slider, is this error: [ERROR] No matching export in "node_modules/@mui/system/esm/index.js" for import "experimental_sx" node_modules/@mui/material/esm/styles/index.js:3:65: 3 │ getLuminance, emphasize, alpha, darken, lighten, css, keyframes, experimental_sx } from '@mui/system';
also if we fix this, there is "errors on the first interaction / signal - then working thereafter." as mentioned by @daltongray
We should be in a better spot now! we fixed a lot of configuration bugs around this, Please update to latest qwik!
Which component is affected?
Qwik React
Describe the bug
Reproduction
https://github.com/daltongray/qwik-react-bug-repro/tree/bug/flaky-dev
Steps to reproduce
Run
npm install
thennpm run dev
expected behavior
the app loads in the browser within a reasonable amount of time, or gives me an error in the console.
instead
Once the app loads in dev, navigate to /react to view the react demo that ships with qwik-react. Interact with the slider / table
expected behavior
the slider hydrates on hover, the button onchange fires as expected
instead
When the app loads, attempt to interact with the MUIFooter component
expected behavior
the navigation items hydrate on hover
instead
TypeError: Failed to fetch dynamically imported module
System Info
Additional Information
It would be nice to enable verbose console reports to track builds during that first load process. When I first encountered this bug, I figured it crashed because the load time was taking so long, and there's no information in the console about it.