Lazy load Monaco Editor to unblock SSR process

未關閉
#67 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
typescript
領域
frontend

研究方向

先在連結的 solid-site 分支上重現 SSR 問題,然後檢查 Solid REPL 如何載入 Monaco,以及如何處理 top-level await。完成的標準是 Solid REPL 可以在不產生 Monaco 副作用的情況下納入 SSR 流程。

由索引模型根據 Issue 內容生成。

描述

enhancement help wanted

I'd really love the ability to include Solid REPL in Solid Site's SSR process. Unfortunately Monaco introduces side-effects when I attempt to do so. You can experience this on https://github.com/solidjs/solid-site/tree/solid-start-migration. A solution discussed on Discord is to lazy load Monaco itself but that might apparently pose some trouble for the top-level await.

Either way it would be really nice to get support for this. I'm hoping someone has some spare time to sink their teeth into it.

Thanks!

主要語言
TypeScript
星號
246
分支
71
平均合併
5 分鐘
30 天內合併 PR
5

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

solidjs/solid-playground 的其他 Issue

查看 solidjs/solid-playground 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。