[Request]: Cover native/mobile rendering (`solid-js/universal`) - the docs have no answer to "can I build a mobile app with Solid?"
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
What is this request related to?
Request
📋 Suggested
https://docs.solidjs.com/quick-start
https://docs.solidjs.com/reference/rendering/render
(no existing page covers this — that's the point of the request)
📋 General description or bullet points
The gap
There is currently nothing in the docs about rendering Solid anywhere other than the DOM. A search
across solid-docs for solid-js/universal, createRenderer, custom renderer, React Native,
Capacitor and NativeScript returns zero hits in src/routes/**. So:
- "Can I build a mobile app with Solid?" — a very common first question — has no answer in the docs.
solid-js/universal(createRenderer) is a public, shipped Solid API with no reference page
and no mention anywhere in the docs. Right now you have to readpackages/solid/universal/in the
Solid repo to learn it exists.
Prior art in neighbouring frameworks
Both Svelte and Vue answer this in their own docs, and both did it recently:
- Svelte — FAQ entry on mobile apps: https://github.com/sveltejs/svelte/pull/18665 (merged)
- Vue — https://github.com/vuejs/docs/pull/3452 (open)
Each covers two distinct paths: wrapping an SPA (Capacitor / Tauri) and rendering real native
views through a custom renderer.
Concrete proposal
A short page under Guides (e.g. "Building for mobile"), or an FAQ entry if you'd rather introduce
one, covering:
- Wrapping a Solid SPA — Capacitor (there are official
ionic-team/capacitor-solidjs-templates)
and Tauri. - Real native views via
solid-js/universal—createRendererlets Solid drive a non-DOM host.
Worth a paragraph on its own merit, independent of any particular library, since the API is
undocumented today.
Optionally a follow-up reference page for solid-js/universal under reference/rendering/.
Disclosure + offer
I maintain Symbiote Native, which has a solid-js/universal adapter (@symbiote-native/solid) driving React Native's Fabric renderer with React out of the path, running on device. So I have an obvious interest here and I'm flagging it up front. I'm happy to write the PR, and equally happy for it to name no specific library at all — the missing coverage of solid-js/universal and of the mobile question stands either way.
One data point on how thin the current coverage is: the only mobile-related entry on solidjs.com's
resources page, solid-native, is flagged
maintained: false in solid-site's own data.
🖥️ Reproduction of code samples in StackBlitz
No response
- 主要语言
- MDX
- 星标
- 292
- 派生
- 361
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 2
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
solidjs/solid-docs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
solidjs/solid-docs#1635 ·
-
good first issue solid solidstart
难度 2/5 1-3 小时 新手友好度 62/100
solidjs/solid-docs#1522 ·
-
[Content]: Add a concrete DOM-binding example to fine-grained reactivity可能重新可做 @LadyBluenotes 于 32 天前认领,目前没有进行中的 PR。 未关闭pending review
solidjs/solid-docs#1637 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 52/100
solidjs/solid-docs#1630 · 1 条评论 ·
-
[Request]:Consolidate "Styling your components" guides into an external resources directory可能重新可做 @LadyBluenotes 于 65 天前认领,目前没有进行中的 PR。 未关闭help wanted
solidjs/solid-docs#1593 · 4 条评论 · 2 个 reaction · 已指派 1 人 ·