elmarti / react-joystick-component

Tiny, multitouch, component driven joysticks in react
MIT License
86 stars 27 forks source link

Refactor to hook-based solution #50

Open elmarti opened 1 year ago

elmarti commented 1 year ago

Is your feature request related to a problem? Please describe. This project was built as an experiment and as a result, although it's using fairly valid TS, most of the code lives in a single file.

Describe the solution you'd like Refactor the project to be more granular and use a functional component/hooks.

Additional context There are a few open feature requests, which I think would be better solved with a functional-based solution

elmarti commented 1 year ago

Now working on the branch #hooks - mostly working, a few things to debug