How to enable SSR per page, not just of App
? #381
Answered by hi-ogawa
MarioIshac asked this question in Q&A
-
For
As you can see inside the Is it possible to have SSR per page with the entire component tree of that page rendered upfront, not just |
Beta Was this translation helpful? Give feedback.
Answered by hi-ogawa Nov 6, 2024
Replies: 1 comment 2 replies
-
vite-plugin-react/playground/ssr-react/src/pages/Env.jsx Lines 1 to 7 in b61592a |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by MarioIshac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
<h1>API_KEY_qwertyuiop</h1>
is what's rendered bypages/Env.jsx
so it looks working though. What do you expect to see instead?vite-plugin-react/playground/ssr-react/server.js
Line 10 in b61592a
vite-plugin-react/playground/ssr-react/src/pages/Env.jsx
Lines 1 to 7 in b61592a