McBrincie212
McBrincie212
SSolidJS
Created by McBrincie212 on 9/13/2024 in #support
Failed To Resolve
I tried importing onMount on a component but it results in vite saying
Pre-transform error: Failed to resolve import "solid-js/store/types/server.js" from "src/App.tsx". Does the file exist?
8:56:18 PM [vite] Pre-transform error: Failed to resolve import "solid-js/types/server/reactive.js" from "src/components/DrawComponents.tsx". Does the file exist?
8:56:18 PM [vite] Internal server error: Failed to resolve import "solid-js/store/types/server.js" from "src/App.tsx". Does the file exist?
Pre-transform error: Failed to resolve import "solid-js/store/types/server.js" from "src/App.tsx". Does the file exist?
8:56:18 PM [vite] Pre-transform error: Failed to resolve import "solid-js/types/server/reactive.js" from "src/components/DrawComponents.tsx". Does the file exist?
8:56:18 PM [vite] Internal server error: Failed to resolve import "solid-js/store/types/server.js" from "src/App.tsx". Does the file exist?
7 replies
SSolidJS
Created by McBrincie212 on 9/3/2024 in #support
Performance Overhead When Panning And Zooming
So im experiencing performance overhead when panning and zooming. I assume this is javascript's fault but i do need some way to optimise it because as of now its slow even with like 5 canvases opened
24 replies
SSolidJS
Created by McBrincie212 on 9/1/2024 in #support
How To Communicate Between Components
suppose this setup i got here
<div>
<DrawToolsMenu />
<PixelArtCanvas />
</div>
<div>
<DrawToolsMenu />
<PixelArtCanvas />
</div>
I want to PixelArtCanvas have a reference to DrawToolsMenu. How can i achieve that?
16 replies
SSolidJS
Created by McBrincie212 on 3/8/2023 in #support
Track Variable Changes
i quite don't remember a lot the splid js syntax can someone explain to me how can i track variable changes and based on that i execute a function
13 replies