Rodrigo
How do you recommend using SolidStart to access data for native mobile apps?
Well, you can have SSR and use an API from that code. The difference is when you SSR your "server" does the API call, and while on the client, the client does.
IMO, if we're talking about a web application (not a public website), SSR is not only unnecessary but it also overcomplicates things that would normally work.
10 replies
How do you recommend using SolidStart to access data for native mobile apps?
Given you are doing a mobile app, I'd recommend you create a web app with solid (not solid start) and a separate API that can be reused both by the web app and the mobile app
10 replies
"use server" working locally but not when deployed
No, you don't. Please see: https://discord.com/channels/722131463138705510/910635844119982080/1277738480633643119
16 replies
Deploy
I may be wrong but I've experienced that A LOT with Icon Libraries.
The problem is they are not ready for SSR so when Solid tries to do that... boom.
And the error is very random.
I use tabler icons for solidjs and it's laughable.
In my case, since I was using plenty of icons and my site is an app, I just went ahead and disabled SSR.
If you are using just 1 or 2, and absolutely need SSR:
1. try to wrap the components representing the icons with the client_only directive from solidjs
2. try to use the icon sources
145 replies