foolswisdom
foolswisdom
SSolidJS
Created by MaveriX89 on 4/24/2025 in #support
renderToString in Elysia BFF Layer
I had assumed Babel was already in the mix since there is already a solid SPA... I guess it's being used via the vite plugin, so it's not obvious to users
47 replies
SSolidJS
Created by MaveriX89 on 4/24/2025 in #support
renderToString in Elysia BFF Layer
Is there an equivalent of npm list? To see if there's react somewhere
47 replies
SSolidJS
Created by MaveriX89 on 4/24/2025 in #support
renderToString in Elysia BFF Layer
I for some reason thought that you added react to project. Could it be the elysia automatically installs it and is messing things up somehow?
47 replies
SSolidJS
Created by MaveriX89 on 4/24/2025 in #support
renderToString in Elysia BFF Layer
Before you added this layer, was bun processing the jsx? Wondering if this might be a general bun issue
47 replies
SSolidJS
Created by MaveriX89 on 4/24/2025 in #support
renderToString in Elysia BFF Layer
There can also be issues with tooling like esbuild just assuming that all jsx is react (unrelated to namespacing)
47 replies
SSolidJS
Created by MaveriX89 on 4/24/2025 in #support
renderToString in Elysia BFF Layer
This is definitely a problem that has come up for people. Try searching for global namespace or other descriptions of the problem in discord search (or github issues)
47 replies
SSolidJS
Created by MaveriX89 on 4/24/2025 in #support
renderToString in Elysia BFF Layer
I don't have a lot of insight into this problem, but it's likely related to the issue that react JSX is a global namespace (while solid's must be imported). So they don't coexist in the same project very well
47 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
Maybe you could make a reproduction in repo that someone could look at?
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
I'm not sure which one depends on h3, but probably it's vinxi
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
If installing from scratch, do you have both solid start and vinxi installed?
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
Did you start from a template, or installing from scratch?
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
Yes, the question is why is it not just working
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
Regarding where the packages get installed - I think everything is installed in the root, but then again in the package (using symlinks, as pnpm does for all its installs)
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
And the error is unrelated (like I said, the readme describes an import issue of a specific script from solid start, not an issue importing h3)
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
It's quite possible you don't need any of this configuration for pnpm
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
Which makes it interesting that it nevertheless all works fine
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
Good point with 2, it's probably a relic of when the solid start package had a different name
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
Okay, it seems like you don't need to specify this if you putting the configuration in package folder (it's either/or, which explains why in my project I just followed the instructions for configuring at the root)
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
That said, the error you're getting doesn't seem like it's related to the issue described in the start readme 🤔
29 replies
SSolidJS
Created by Ténèbres on 4/21/2025 in #support
Solid Start in pnpm workspaces monorepo
That said, it looks like I'm only partially following the instructions in my monorepo here https://github.com/mosheduminer/lexical-solid (though I'm not importing from the package that uses start, it seems that some of the configuration is needed regardless)
29 replies