What's hot on TresJS v4 π₯?
summary
TresJS v4 adds concrete upgrades: on-demand rendering plus manual invalidate and three render modes (always/on-demand/manual) that cut wasted frames; a rebuilt event system with right/double/pointer events and DOM-like bubbling + stopPropagation; reactive primitives supporting dynamic object refs, v-if visibility and primitive event handlers; stronger memory management with automatic disposal of GPU and CPU resources; a new useLoop composable (onBeforeRender/render/onAfterRender with priority and takeover) plus pause/resume controls and expanded DevTools telemetry and docs translations.
AI-written summary Β· about
chapters (17)
- 0:00Introduction
- 1:28What is TresJS
- 2:20TresJS v4
- 3:33Whats new in v4
- 4:39OnDemand Rendering
- 7:03Event Store Propagation
- 8:30Stop Propagation
- 9:20Primitives
- 11:19Conditional Rendering
- 12:01Memory Management
- 13:05Dev Tools Improvements
- 14:02UseLoop Compossible
- 15:17TresJS API
- 18:22Translations
- 19:05Roadmap
- 19:58Thanks
- 20:27Questions








