gh680
gh680
SSolidJS
Created by Mirardes on 2/13/2024 in #support
Uncaught TypeError: Cannot read properties of undefined (reading 'afterCreateSignal')
@nksaraf i just updated to 0.3.3 and no longer see this problem. thank you!
12 replies
SSolidJS
Created by Mirardes on 2/13/2024 in #support
Uncaught TypeError: Cannot read properties of undefined (reading 'afterCreateSignal')
ping @nksaraf fyi
12 replies
SSolidJS
Created by Mirardes on 2/13/2024 in #support
Uncaught TypeError: Cannot read properties of undefined (reading 'afterCreateSignal')
yep that worked for me too, thanks
12 replies
SSolidJS
Created by Mirardes on 2/13/2024 in #support
Uncaught TypeError: Cannot read properties of undefined (reading 'afterCreateSignal')
Just hit the same this morning after updating to start 0.5.5 / vinxi 0.3.0
12 replies
DTDrizzle Team
Created by babakfp on 2/7/2024 in #help
Are there any examples with Drizzle + SvelteKit + `better-sqlite3`?
Did you try pnpm drizzle-kit push:sqlite ?
7 replies
SSolidJS
Created by hotshoe on 12/20/2023 in #support
Beta2: How do I render html attribute server-side
The document structure/tags (html/body/head etc) have moved from root.tsx to entry-server.tsx. A bit of a change, but I got things working 👍
4 replies
SSolidJS
Created by ChrisThornham on 12/21/2023 in #support
SolidStart Beta 2 Docs
I've used that to convert a couple projects already, and have had good success.
7 replies
SSolidJS
Created by ChrisThornham on 12/21/2023 in #support
SolidStart Beta 2 Docs
start.solidjs.com appears to have updated doc for beta2
7 replies
SSolidJS
Created by gh680 on 6/20/2023 in #support
Disappearing button text?
I gave this a try and it didn't seem to do anything differently. Are there other vite or solid config changes needed that aren't explicitly listed here? The readme seemed to suggest that I'd be prompted for a bunch of package.json settings, but never was. I tried to manually set those, but I never saw the /dist output look like what was suggested. These are probably all really dumb questions, I just have no experience with build config or rollup. Any easy suggestions for me?
8 replies
SSolidJS
Created by gh680 on 6/20/2023 in #support
Disappearing button text?
Hey @mdynnl, yes. I created stripped down repos that demonstrate the issue: https://github.com/greg-hammond/ui-comp-test.git exports a Button component, and has an npm package on github. https://github.com/greg-hammond/button-consumer-test.git is a test project that imports Button from that package. If you clone the test project, pnpm install, pnpm dev, and browse to :3102, you will see the problem occur. If you build that project and run from /dist (pnpm build / pnpm start), the problem does not occur. (And: if I have the ui-comp-test repo open, and dev link the package, the problem also does not occur). If you're able to take a look, that would be great. Thank you!
8 replies
SSolidJS
Created by gh680 on 5/12/2023 in #support
Can't get createServerData$ to work as expected
@totskie730 thank you, this works great. I was over-invested in trying to make a specific approach (using useRouteData example from the docs) and didn't know how to refactor for my specific case. Appreciate your taking the time to post a working solution.
8 replies
SSolidJS
Created by gh680 on 5/12/2023 in #support
Can't get createServerData$ to work as expected
@Nikos thanks for the replies. I think my problem was that my route component was re-exporting the above from another location in the project. It seems that solid-start requires that my routeData/createServerData$ code physically live in the route component itself (?). If I bring that code into the route component itself, then things work.
8 replies
SSolidJS
Created by gh680 on 5/12/2023 in #support
Can't get createServerData$ to work as expected
Edited code above to include async/await. Did not change the outcome unfortunately.
8 replies
SSolidJS
Created by Davide on 12/9/2022 in #support
Solid Router Layouts
Newish to solid, and to file-based routes, but this worked (and I actually have a tiered layout setup that I got working) so hopefully it's helpful?
4 replies
SSolidJS
Created by Davide on 12/9/2022 in #support
Solid Router Layouts
import { Outlet } from '@solidjs/router'
import styles from './style.module.scss'

export default function GlobalLayout() {
return (
<div class={styles.globalLayout}>
<Outlet />
</div>
)
}
import { Outlet } from '@solidjs/router'
import styles from './style.module.scss'

export default function GlobalLayout() {
return (
<div class={styles.globalLayout}>
<Outlet />
</div>
)
}
4 replies
SSolidJS
Created by Davide on 12/9/2022 in #support
Solid Router Layouts
I got something working - using file-based routing and layout components utilizing <Outlet />. I have a global layout in /routes/(root).tsx that looks like:
4 replies