TheOinkinator
CSS Modules not updating without page refresh
I just opened a new solid start app and began adding .module.css files. However, anytime I make an adjustment to the css in a module and save it all styling is wiped from the element on the page (despite vite triggering a reload) and I have to refresh the page in the browser for every change. Any idea what might be causing this?
I have also tested a solid start project I created about five months ago and it is not having the same issue so it seems to be something that has changed in the default solid start app in the interm period
File structure:
components/
├── DefaultHeader.module.css
├── DefaultHeader.tsx
(Default Header)
(Default Header css module)
7 replies
Is it possible to have a route rerender only a portion of the page with Solid Start
As stated above I want to set up a page where sub routes rather than reloading the entire page just rerender a portion of a for loop so for example:
/home/start/example
will be a page that has a for loop returning <example>
when i click <example> it navigates to:
home/start/example/example2
and rather that reloading the whole page it updates the For loop to return:
<example>
<example2>
Let me know if this makes sens and if there is a method to do this?
3 replies
Vercel deployment issue.
I Just migrated my small project from astro framework to solid start. I am trying to publish the project on vercel but am running into this error:
Error: No Output Directory named ".output" found after the Build completed. You can configure the Output Directory in your Project Settings.
6 replies
Adding components that use context to the DOM after mount
I have a component (ShelfScene) that returns a mapped list of items (Shelf). The ShelfScene component appends a few Shelf components onMount and those render and use context fine with no issues. However when I try to append a new Shelf component after mount the new component is not able to read the context. Any Ideas?
15 replies