Skip to content

Next.js/SSR example? #19

Answered by erictaylor
mrtnzlml asked this question in Q&A
Discussion options

You must be logged in to vote

@mrtnzlml thanks for your question.

My first gut reaction is that Yarr really isn't a suitable replacement in Next.js. Since (as you are aware) Next.js ships it's own routing solution that is already SSR friendly.

I'm not totally up-to-speed on Next.js current support for Suspense and suspenseful data but I'd have to imagine if this is something they don't already support that it would be on the roadmap given the React roadmap of features coming soon.


As for SSR in general, we haven't testing Yarr with SSR yet. I suspect it would mostly work without issue, but I could see a couple possible hang-ups that could come up.

This is something we can look into in the future, but as always, feel …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by erictaylor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14 on January 21, 2022 17:07.