Optional(?) feature to let users control their own rendering
See original GitHub issueI have a requestAnimationFrame higher up in my component tree than the Three.js code, to do things like update overlayed GUI elements using state from the game, and drive the updating of my game state (which is independent of the component tree). It appears this library controls its own requestAnimationFrame handler and the only way to hook into it is inside a <Canvas>. What about a way to let the user opt-in to their own animation, or remove it entirely and always make the user call reqAnimFrame? For example with this setup I don’t think an end user could do a render-only-one-frame setup to render a static webgl image?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
7 Ways to Implement Conditional Rendering in React ...
One feature that allows for this is conditional rendering. ... Open the App.js file in your code editor, scroll down to the render()...
Read more >Client-side vs. Server-side vs. Pre-rendering for Web Apps
I discovered this solution with Preact and its own CLI that allows you to compile all pre-selected routes so you can store a...
Read more >Conditional Rendering - React
Use JavaScript operators like if or the conditional operator to create elements representing the current state, and let React update the UI to...
Read more >Feature Toggles (aka Feature Flags) - Martin Fowler
Feature Toggles (often also refered to as Feature Flags) are a powerful technique, allowing teams to modify system behavior without changing code. They...
Read more >text-rendering - CSS: Cascading Style Sheets - MDN Web Docs
The text-rendering CSS property provides information to the rendering engine about what to optimize for when rendering text.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It moved here https://github.com/react-spring/react-three-fiber/blob/master/recipes.md#rendering-only-when-needed
@drcmda the https://github.com/drcmda/react-three-fiber#rendering-only-when-needed section isnt there anymore.