Skip to content
Discussion options

You must be logged in to vote

MutationObserver is a browser API, not a leptos_tiptap feature.

how does request_animation_frame work?

requestAnimationFrame is also a function that's native to the browser; request_animation_frame is just the Rust-style name by which it's exported in leptos.

All I was suggesting about moving the TiptapInstance was the following:

Rather than

<Transition>
  {move || match some_resource.get() {
     None => "some message that will never be shown, because of the Transition fallback",
     Some(value) => {
       // this will rerun and create the TiptapInstance entirely from scratch every time the resource changes
     }
  }}
</Transition>

you consider

<Transition>
  // this will render the…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@CedricGARVENES
Comment options

@gbj
Comment options

gbj Feb 27, 2026
Maintainer

@CedricGARVENES
Comment options

@gbj
Comment options

gbj Mar 1, 2026
Maintainer

Answer selected by CedricGARVENES
@CedricGARVENES
Comment options

@gbj
Comment options

gbj Mar 3, 2026
Maintainer

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