Skip to content

Trully Leverage Next JS SSR.. #232

Answered by nandorojo
Jbmanllr asked this question in Q&A
Discussion options

You must be logged in to vote

If you search "SSR" in the issues and PRs in this repo, you'll see that I have thought/written about this quite a lot.

The short answer: kind of. You can make this work, but not with Dripsy. React Native Web "supports" SSR, until you need responsive design.

That said, the latest release of React Native Web finally supports an API for media queries. So while I don't currently plan on adding this kind of thing to Dripsy, it will be possible to render on the server with media queries with libraries like NativeWind and Tamagui. You sacrifice being able to use screen dimensions in render, as well as many other valuable elements, but it's a trade-off you can make.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nandorojo
Comment options

@Jbmanllr
Comment options

@jonsherrard
Comment options

@nandorojo
Comment options

@jonsherrard
Comment options

Answer selected by Jbmanllr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants