denoland / fresh

The next-gen web framework.
https://fresh.deno.dev
MIT License
12.15k stars 619 forks source link

docs: using server components in islands #2416

Closed kerimhudson closed 4 months ago

kerimhudson commented 4 months ago

After reading the discussion at #2369, this PR introduces a small addition to the docs which highlights how you can use server components within islands.

This, coupled with the existing docs, should hopefully give people enough of an example to understand that islands provide the interactivity layer, and that server components within them can be hydrated and made interactive too.

Closes #2369