Skip to content
Discussion options

You must be logged in to vote

It could be a building block, but it would require a new native UI renderer/host implementation; enabling Svelte's compiler option alone would not make Capacitor render UIKit or Android views.

The linked Svelte PR is still open as of September 21. Its experimental.customRenderer option changes compiled components to call a supplied renderer instead of assuming the browser DOM. The example renderer in the PR targets a terminal, which illustrates the boundary: the renderer still has to implement the destination UI operations.

Capacitor's current model is a web app running in a native container, with plugins exposing native platform capabilities. For native Svelte UI, somebody would addition…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by erlend-sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants