ogallagher / refraction

Asynchronous multiplayer semi-turn-based game
Other
1 stars 0 forks source link

Migrate to React+Nextjs #15

Open ogallagher opened 3 years ago

ogallagher commented 3 years ago

I want to improve the scalability and design of the website, and using a framework like React should improve interaction, organization, scalability, design, and better handling of user/game data.

ogallagher commented 2 years ago

Nextjs cli tools are run with npx next.

npx next build Builds webpages using new source.

npx next dev Starts server in development mode, with code autorebuild and error logging.

npx next start Starts webserver.

These tools are hidden behind npm run using the new package.json scripts.

ogallagher commented 2 years ago

As of now the initial migration to using React (+Next) is nearly complete (though I’ve not committed progress yet), leaving development effort open to working on other improvements. Ex: