Skip to content

Is there any possible to implement this library(or framework?) without using js, use something maybe like rust? #2379

Answered by CaliViking
zzz6519003 asked this question in Q&A
Discussion options

You must be logged in to vote

@zzz6519003 - if you are referring to the client side (in the web browser), then there is currently no way to achieve this without at least some amount of JavaScript.
The reason is that WebAssembly (which is where you would put the Rust code) cannot manipulate the DOM. This means that there would need to be a JS layer (some JS Glue code) where the DOM is manipulated.
Please see https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts

You can use anything on the server side. I have been using Rust Axum.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zzz6519003
Comment options

Answer selected by zzz6519003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants