leptos
leptos copied to clipboard
Support writing custom renderers to use leptos anywhere
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.
No, there are no plans. It's something that could be considered during a future rewrite of the renderer.
ok
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).
Great. I need to study it.
Done in 0.7.