KiaClouth
KiaClouth
Explore posts from servers
SSolidJS
Created by KiaClouth on 2/17/2025 in #support
When I use blockly, nothing is on the page
Thanks a lot, I was able to use it.🥳
11 replies
SSolidJS
Created by KiaClouth on 2/17/2025 in #support
When I use blockly, nothing is on the page
It shouldn't be, this is the result of I modifying index.tsx in the basic solidstart sample project. After pnpm create solid@latest, I replaced the content of index.tsx with this and turned off ssr.
11 replies
SSolidJS
Created by KiaClouth on 2/17/2025 in #support
When I use blockly, nothing is on the page
This is a new project I created using pnpm create solid@latest, I just replaced the contents of index.tsx with this. When I comment out blockly-related code, there will be content in the #app tag. I think it might not be a runtime error, maybe it is vite or something, and I'm not sure.
11 replies
SSolidJS
Created by KiaClouth on 2/17/2025 in #support
When I use blockly, nothing is on the page
No, even if i delete onMount, it's still the same as before
11 replies
SSolidJS
Created by KiaClouth on 2/17/2025 in #support
When I use blockly, nothing is on the page
No description
11 replies
SSolidJS
Created by KiaClouth on 10/14/2024 in #support
How to reduce undefined judgments
When I need to store a value that may change in a component, I immediately think of signal. But from this example, it's really just a matter of storing it in an ordinary variable. Thanks
19 replies
SSolidJS
Created by KiaClouth on 10/14/2024 in #support
How to reduce undefined judgments
OK, I'll try this.
19 replies
SSolidJS
Created by KiaClouth on 10/14/2024 in #support
How to reduce undefined judgments
Thanks, I hadn't thought of doing that at all, thanks for your advice
19 replies
SSolidJS
Created by KiaClouth on 10/14/2024 in #support
How to reduce undefined judgments
// Thanks for your answer, but I think I described it wrong. Actually I want to solve the problem of ts, because I need to execute many statements like engine().scene = {}, but judging engine() !== undefined can't ensure that engine() !== undefined afterwards. That's it, I want to write less error handling without using !. I hope I made it clear...
19 replies
SSolidJS
Created by KiaClouth on 10/14/2024 in #support
How to reduce undefined judgments
Thank you for your reply, I know using ! can solve the problem, but I am worried that it has hidden dangers, so I try to find a more elegant solution, but maybe I am asking for trouble
19 replies
SSolidJS
Created by KiaClouth on 10/14/2024 in #support
How to reduce undefined judgments
I should have made a mistake there, it was actually engine().dispose();
19 replies
SSolidJS
Created by KiaClouth on 7/2/2024 in #support
Incorrect response MIME type. Expected 'application/wasm'.
I also want to change to import with URL, but this problem occurs inside wa-sqlite, and the compressed mjs is not easy to modify.😭
7 replies
SSolidJS
Created by KiaClouth on 7/2/2024 in #support
Incorrect response MIME type. Expected 'application/wasm'.
Just tried adding it to app.config.ts, but it didn't work. I looked for methods like WebAssembly.instantiateStreaming in the code of wa-sqlite. I don’t know much about it. It may take more time. I plan to change the method for the time being. Thank you for your suggestion.
7 replies