Visit the Documentation of the upcoming Threlte 6.
  1. Reactivity


Open the reactivity example in a Svelte REPL

Just like Svelte Cubed and unlike react-three-fiber it is encouraged to use your component state to drive your three.js scene. By using props instead of manipulating three.js objects directly, the unified render loop is able to tell that your scene needs rerendering and Svelte can make use of component optimizations.