Get the latest tech news
Why Use React for Game Development?
React.js is a “library” for making UIs.
If I went with the Pixi-React route, I would have to write my own collision logic, my own camera system, etc… I have already done it once as part of a YouTube tutorial on my channel about making a Pokemon game in p5.js, but it was a lot of work that can be avoided with the other options mentioned later. I explain how to overlay a React UI on top of an HTML canvas game in a way that scales regardless of the screen size. I also explain how to create a bridge between the React UI layer and the canvas based game to share data between the two.
Or read this on Hacker News