MaveriX89
Explore posts from serversrenderToString in Elysia BFF Layer
Btw, if using the
preload
script that you shared above, will that run automatically when running bun
or bun build
? So I use bun
to run my server in development but then I compile it with bun build
for production47 replies
renderToString in Elysia BFF Layer
Funny enough, I decided to make a post in the Bun discord about this to see what people had to say and someone already posted some not so nice words about Solid
https://discord.com/channels/876711213126520882/1365321218898526250
47 replies
renderToString in Elysia BFF Layer
Precisely. I have a full stack app repo consisting of a Solid SPA using the Solid Vite plugin and an Elysia BFF server.
Everything spoken about here is happening within the BFF layer which is not using the Vite plugin because I run the Elysia server using Bun (not Vite)
47 replies
renderToString in Elysia BFF Layer
There’s a part of me that also has suspicions around how the file extensions are playing with each other (e.g. my importing of a TSX file within a normal TS file).
Everything in my Elysia layer is TS except for that one component module.
47 replies
renderToString in Elysia BFF Layer
Nah, this whole problem started when I added a Solid component to my Elysia server layer because I’m in the process of adding email verification for Auth. My server is doing the work and I want to express the email’s HTML markup as a Solid component and then stringify the whole thing
47 replies