Is there a recommended way to use node modules? #2519
Replies: 1 comment 1 reply
-
@WorldSEnder You know anything about this? |
Beta Was this translation helpful? Give feedback.
-
@WorldSEnder You know anything about this? |
Beta Was this translation helpful? Give feedback.
-
I'm considering how much of a hard break from an existing Vue application a move to Yew would be. We use several JavaScript clients that don't have comps in Rust yet. Ultimately, we might be moving away from these clients as part of a larger reorg, but it would obviously be optimal to not have to roll our own in the meantime.
I'm aware of two ways to interoperate:
externs
manually.js!
macro fromstdweb
.Would there be any other way to do this that is better for Yew? I saw this on crates. Is it recommended?
Non-yew question: if there isn't a better way to work with Yew, I'm leaning towards
stdweb
. As far as developer experience is concerned, is there a way to make theRust
linter treat thosejs!
macros witheslint
?Beta Was this translation helpful? Give feedback.
All reactions