지금 아이디어는 load에서 SSR인지 여부에 따라서 T | Promise<T>를 던져서 SSR에서는 바로 데이터 / CSR 에서는 Promise 결과가 스트리밍되게 하고 +page.svelte에서는 항상 :then을 씌워주면 SSR때도 Promise 아닌게 들어오면 :then을 렌더링하니까 어떻게 될 거 같긴 한데 어쨌든 SvelteKit의 간단한 구조는 포기해야 하니까... (어쩔 수 없는거지 싶기도 하고)

1

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/019abb3b-a5f1-74a1-8ad1-84ec9b75638e on your instance and quote it. (Note that quoting is not supported in Mastodon.)