[✨] How to use both ssg and ssr for the same route #107
enesflow
started this conversation in
Proposals For Qwik
Replies: 1 comment
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
I have a dynamic path in my app,
/search/[query]/index.tsx. I wanted to optimize it by using ssg for some popular search queries like this:But when I search for something that is not generated with ssg, I get a 404 error. I want it to fallback to the normal path (
/search/[query]/index.tsx) and get the data from the server as I've defined it there.Describe the solution you'd like
An option to fallback to ssr for not ssg generated paths would be helpful.
Describe alternatives you've considered
Not using ssg.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions