Open maxburs opened 1 day ago
I think part of the mistake here is that there's two use server
. Perhaps you don't need the use server
inside GET and then fix the types in getAllPosts
for it to consistently return Promise<T>
because server functions always return them.
Duplicates
Latest version
Current behavior 😯
When doing a prod build, app freezes. Dev builds unaffected. Static versions of the pages appear ok, GET request responses appear missing?
Expected behavior 🤔
No response
Steps to reproduce 🕹
Reproduction here: https://deploy-preview-23--maxburson.netlify.app/ Code: https://github.com/maxburs/blog/tree/solid-start
Context 🔦
Trying to get SolidStart to statically render the GET requests on my blog. At least, I'm guessing it's related to the GET requests?
https://github.com/maxburs/blog/blob/6f705bf50a1436bc6d9040bbf1697c650d23ae92/src/routes/index.tsx#L13
https://github.com/maxburs/blog/blob/6f705bf50a1436bc6d9040bbf1697c650d23ae92/app.config.ts
Your environment 🌎