nandorojo / solito

🧍‍♂️ React Native + Next.js, unified.
https://solito.dev
MIT License
3.54k stars 180 forks source link

Feature Req: Server Side Rendering #388

Closed qalqi closed 1 year ago

qalqi commented 1 year ago

Looks like solito generates PWA with no server side rendering and no indexing

  1. Visit https://punits.dev/check-server-side-rendered/
  2. Insert https://example.solito.dev/ or https://beatgig.com/discover
  3. We can see empty screen

Alternatively,

  1. Visit https://punits.dev/check-server-side-rendered/
  2. insert https://expo-twitter.netlify.app/ (https://github.com/EvanBacon/expo-router-twitter)
  3. We can see server rendered content
nandorojo commented 1 year ago

this is the case for the dripsy example only. for SSR, you can use the tailwind example, or see tamagui’s solito starter on their docs.

nandorojo commented 1 year ago

It's possible I'll just remove Dripsy from the SSR example.

qalqi commented 1 year ago

Looks like with "expo": "^49.0.0-alpha.3" and expo-router we can get SSR