-
I'd love to use leptos for my front end, but I have some important dependences that are in js. Some of them are complex, requiring me to provide callback functions that creates html elements Can I still use these js libraries? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'd recommend taking a look at the In general, the more a JS library wants to control your UI, the more difficult it will be to integrate it with any given UI framework, whether that's Leptos or a JS framework. Without any more information that's about the level of detail it's possible to provide, but feel free to ask more specific questions as they arise. |
Beta Was this translation helpful? Give feedback.
I'd recommend taking a look at the
wasm-bindgen
docs for how to import and call functions from JavaScript.In general, the more a JS library wants to control your UI, the more difficult it will be to integrate it with any given UI framework, whether that's Leptos or a JS framework.
Without any more information that's about the level of detail it's possible to provide, but feel free to ask more specific questions as they arise.