itaditya / trick-or-treat-game

Play it for free here
https://trick-or-treat.netlify.com/
16 stars 17 forks source link

Changed class component to functional inside Game.js file #20

Closed pavelkeyzik closed 2 years ago

pavelkeyzik commented 4 years ago

HI! Now your file Game.js uses React Hooks ( #19 ). Also, I upgraded React and React DOM version to be able to work with React Hooks. Can you check my work?

Thanks a lot for Hacktoberfest label.

pavelkeyzik commented 4 years ago

We have several PRs that change the src/Game.js file. All merged PRs make conflicts with my PR. Maybe we need to wait until all PRs will be merged and then I will fix conflicts? Or will it be better to merge the version with hooks and let people write their code with hooks?