
Building video games in React with Joe Hart
PodRocket - A web development podcast from LogRocket
00:00
The Importance of React in the DOM
React wants to render as little as possible for performance reasons I think so if it dependency one of those props is updated then it will flow through your component tree but yeah like you said you have to step out and use the use ref. React is just a language to express what you want the browser to do which normally React doesn't want you to touch. If you end up rendering into a canvas or anything that's kind of dumping into a canvas React just becomes a glorified kind of state management tool at that point that's not as exciting.
Transcript
Play full episode