# Using p5.play with React?

**URL:** <https://discourse.processing.org/t/using-p5-play-with-react/37658>\
**Category:** Libraries\
**Created:** [June 20, 2022, 7:19pm UTC](https://discourse.processing.org/t/using-p5-play-with-react/37658 "2022-06-20T19:19:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spallis](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@spallis](https://discourse.processing.org/u/spallis)\
**Post date:** [June 20, 2022, 7:19pm UTC](https://discourse.processing.org/t/using-p5-play-with-react/37658/1 "2022-06-20T19:19:08Z")

</div>

I am trying to use p5.play with React ([p5.play - a game library for p5.js](http://molleindustria.github.io/p5.play/)). I tried following the example listed on the Github, but the example only uses an index.html and sketch.js file. When I tried using in a React component, I could not get anything to render.

I have installed react-p5 successfully. And I also got p5.sound working. But I am just wondering if anyone can point me in the right direction for using p5.play with React.
