piqnt / planck.js

2D JavaScript Physics Engine
http://piqnt.com/planck.js/
MIT License
4.87k stars 236 forks source link

Creating React Component Examples #284

Open godpeny opened 1 month ago

godpeny commented 1 month ago

Hi, I became interested in this project and wanted to use it, but unfortunately, it seemed that it needed to be used with vanilla JS. However, I was able to implement the examples as React components, and I was wondering if you would consider adding these React component examples to the examples section for others who might have the same concerns as I did. I look forward to your response. thx :-)

shakiba commented 1 month ago

Hey, sounds awesome, thanks for your work! The project is in vanilla.js so that it could be used with any UI framework and library, just like you used it with React. Maintaining examples with various libraries in one repo could be a little challenging. However, if you host the react examples in another repo we can add a link in the wiki (under "Development Tools and Applications").