Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react version #4

Open
rajeshd50 opened this issue Jun 8, 2020 · 2 comments
Open

Update react version #4

rajeshd50 opened this issue Jun 8, 2020 · 2 comments

Comments

@rajeshd50
Copy link

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 ?

@pl12133
Copy link
Owner

pl12133 commented Jun 10, 2020

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.

@Zamiell
Copy link

Zamiell commented May 4, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants