Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Request]: Cover native/mobile rendering (`solid-js/universal`) - the docs have no answer to "can I build a mobile app with Solid?"

未关闭
#1,636 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

这个 Issue 还没有评估数据。

描述

help wanted
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 read packages/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:

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:

  1. Wrapping a Solid SPA — Capacitor (there are official
    ionic-team/capacitor-solidjs-templates)
    and Tauri.
  2. Real native views via solid-js/universal — createRenderer lets 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

solidjs/solid-docs 的其他 Issue

查看 solidjs/solid-docs 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。