create-react-phaser3-app icon indicating copy to clipboard operation
create-react-phaser3-app copied to clipboard

using hooks?

Open dcsan opened this issue 3 years ago • 1 comments

wondering if you have a template version using functional components and hooks?

dcsan avatar Jul 03 '22 23:07 dcsan

Hi @dcsan, both functional and class approaches work in this template. In fact, I used hooks entirely in another project of mine that is based on this template - SkyOffice. Feel free to check it out!

Is it because I haven't upgraded React to v18 that makes you think hooks won't work?

kevinshen56714 avatar Jul 05 '22 18:07 kevinshen56714