Paul-Ladyman / dnd-battle-tracker

D&D Battle Tracker is a combat management tool for Dungeons & Dragons 5th Edition.
https://dndbattletracker.com/
MIT License
22 stars 8 forks source link

Pages and Routing #562

Open Paul-Ladyman opened 1 year ago

Paul-Ladyman commented 1 year ago

Split the site into individual pages to improve download sizes and performance. The DM and Player views should be split onto different pages as well as the Dungeon Master Tips section. This will likely require that the build mechanism be reviewed to ensure all build files are both uploaded to S3 and attached to the Gihub release. Consider also how to make it easy to download and run previous versions of the Battle Tracker when multiple files need to be served.

Paul-Ladyman commented 3 months ago

This has mostly been achieved using React Suspense boundaries. Arguably the DM and Player views should still be split into separate pages as the Player view currently downloads all of the DM view resources but never uses them.