Replies: 7 comments 8 replies
-
I'd love to help but I really need a minimal reproduction on this one :( |
Beta Was this translation helpful? Give feedback.
-
Let me see what I can do. Give me 30 minutes. |
Beta Was this translation helpful? Give feedback.
-
Removing bunch of files from the project made the issue go away 🤦♀️ Not sure how to isolate this if the issue only exists when all project files are there. |
Beta Was this translation helpful? Give feedback.
-
when looking at the if the project is private and you have the rights/feel ok to do so, feel free to invite me so I can look at it even without it being a minimal repro |
Beta Was this translation helpful? Give feedback.
-
I am still trying to create isolated example, but these are some of the logs that caught my eye when using
takes over 1 second to transform /app/global.css For context, that's the contents: @layer reset, base, tokens, recipes, utilities, overrides;
@layer reset {
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
input,
button,
textarea,
select {
font: inherit;
outline: none;
resize: none;
}
a {
color: inherit;
text-decoration: none;
}
}
@layer base {
html,
body {
max-width: 100vw;
font-size: 18px;
line-height: 1.6em;
}
body {
color: #fff;
background: #111;
--font-fallback: "Red Hat Text Variable";
}
strong {
font-weight: 600;
}
/* ::selection {
color: #fff!important;
background-color: #000!important;
} */
/* a {
color: #3740ff;
} */
}
I also noticed that immediately after I restart the remix server, things are relatively fast. Took in this case ~3 seconds to see update. It only gets slower as I do some more development. Maybe some index is getting crowded? |
Beta Was this translation helpful? Give feedback.
-
Yeah, the longer I work on the project, the longer that step becomes. This is updating the same page, but after ~30 minutes of working on the app:
The same step has gone from ~1 second to 7 seconds, and it is only getting worse every time I make an update to the page. so it def looking like it is some sort of cache issue. The good news that now I at least know I can just restart the server to reduce page load times from what sometimes becomes a whole minute. |
Beta Was this translation helpful? Give feedback.
-
are you using the postcss plugin ? if so, can you reproduce the issue when using the CLI instead ? in the
can you tweak your If you still reproduce the issue after those steps, I'm going to need a reproduction to investigate further |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Sometimes re-loading page takes upwards of 30 seconds, or even longer.
The only thing that helps is downgrading to v0.20.
$ PANDA_DEBUG=* pnpm panda debug
JS Framework
Remix
Panda CSS Version
v0.22-v0.25
Browser
Chrome
Operating System
Additional Information
CC @astahmer @segunadebayo
Beta Was this translation helpful? Give feedback.
All reactions