react-solitaire icon indicating copy to clipboard operation
react-solitaire copied to clipboard

Update react version

Open rajeshd50 opened this issue 5 years ago • 2 comments

Hi,

Any thoughts of updating the react version? The game works perfectly but I need to use latest react version. react-tap-event-plugin is not supported in latest react, any idea how to replace this ?

rajeshd50 avatar Jun 08 '20 13:06 rajeshd50

That plugin can be removed, it is there to solve a browser bug that has now been fixed by most browsers.

As for updating the React version, I might give it a shot if the upgrade is quick; but I'm more likely going to leave this project as is as long as it still runs.

I made this project as a learning experience for when I was just getting comfortable with React, one day I hope to get around to making a similar new project from scratch using newer techniques and optimizations.

pl12133 avatar Jun 10 '20 14:06 pl12133

I made this project as a learning experience for when I was just getting comfortable with React, one day I hope to get around to making a similar new project from scratch using newer techniques and optimizations.

Hello Peter. Can you expand a little bit on what new techniques and optimizations you would do?

I'm looking to rewrite my Canvas-based card game using the best technologies in 2021. I am not sure what to pick!

  • This site (react-solitaire) uses React + Div elements.
  • But I could also use React + SVG elements like in this tutorial from Auth0.
  • WebGL is very fast, so maybe the best idea is to use PixiJS, which is a JavaScript framework for WebGL. You can even use it with React with the ReactPixi framework.

Any thoughts?

Zamiell avatar May 04 '21 06:05 Zamiell