leptos icon indicating copy to clipboard operation
leptos copied to clipboard

Support writing custom renderers to use leptos anywhere

Open lizidev opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Hi, Are there any plans to support custom renderers to support new platforms outside of the web. Like https://github.com/solidjs/solid/releases/tag/v1.2.0

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

lizidev avatar Sep 17 '23 06:09 lizidev

No, there are no plans. It's something that could be considered during a future rewrite of the renderer.

gbj avatar Sep 18 '23 12:09 gbj

ok

lizidev avatar Sep 19 '23 13:09 lizidev

This is planned as part of the work I'm doing to rewrite the renderer for 0.6. If you want to follow along with that work you can check it out at https://github.com/gbj/tachys — it uses a universal rendering model very similar to Solid's, and you can see I have implementations at the moment for the DOM, a mock DOM that can be used in plain Rust tests, and GTK (totally incomplete but as a proof of concept).

gbj avatar Oct 19 '23 12:10 gbj

Great. I need to study it.

lizidev avatar Oct 19 '23 13:10 lizidev

Done in 0.7.

gbj avatar Aug 04 '24 15:08 gbj