Combining with other web frameworks / ecosystems #1206
Unanswered
aschrijver
asked this question in
Q&A
Replies: 2 comments 11 replies
-
Starting to answer my own question with some findings on the web:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Trying to integrate two frameworks (React and Leptos in this case) is always difficult, and especially so with React, which doesn't necessarily play nicely with the DOM. The most straightforward way to do this, if you need to use React for something, would be to create a web component/custom element that wraps the React component, and then simply use it as an HTML element in your Leptos app. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Leptos offers an attractive and modern web framework, where one can have an all-Rust back-end to front-end techstack. I am evaluating wasmCloud on the back-end. That also gives kind of a "WebAssembly. Everywhere." paradigm.
What is less clear to me is how I can still leverage existing web frameworks and benefit from their rich ecosystem. I am particularly thinking of React in this case and specifically React Flow diagramming component.
Say that I'd like to do as much UI-related stuff in Leptos as I can, what are approaches I could take to integrate this component in the UX?
Beta Was this translation helpful? Give feedback.
All reactions