3 ms·
Would love to generally see SSR supported in Storybook. Just started up Storybook in a Remix codebase and would love to see SSR'd vs Client Rendered components.
by halfmatthalfcat 3y ago
Would love to generally see SSR supported in Storybook. Just started up Storybook in a Remix codebase and would love to see SSR'd vs Client Rendered components.
- eddd-ddde 3y agoNot too familiar with React server components, so I have a question. Are you implying that a client rendered component can be different from a server rendered one? I always assumed this was just implementation details for the same result.
- halfmatthalfcat 3y agoThey can be different in that server rendered ones are materialized solely on the server, without any context to the browser environment and unable to have any interactivity. It's just HTML when it's SSR'd. However, when "hydrated" or when that component is rendered on the client (browser), it can ship with more interactivity and/or manipulation by its JS.
- Raed667 3y agoI saw a company using it with their homemade php backend/components.