React 18 #405

Closed
opened 2026-04-05 20:25:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ferothefox on 3/3/2024

This PR upgrades React and ReactDOM to 18.2.0, which are the latest versions, and with it, the latest hooks and performance improvements. As far as I know, pyro is running the only production Pterodactyl panel running these versions of React. This will allow us to share our marketing website UI lib with our panel and begin optimizing pyrodactyl to be accessible and keyboard navigable.

The vast majority of changes are simply updating imports across the entire project. The main changes are updating the swr API (which powers the live stats in the server Home page, and features like websockets for the backup page).

You should see considerably lower build times on this branch 🎉

*Originally created by @ferothefox on 3/3/2024* This PR upgrades React and ReactDOM to 18.2.0, which are the latest versions, and with it, the latest hooks and performance improvements. As far as I know, pyro is running the only production Pterodactyl panel running these versions of React. This will allow us to share our marketing website UI lib with our panel and begin optimizing pyrodactyl to be accessible and keyboard navigable. The vast majority of changes are simply updating imports across the entire project. The main changes are updating the swr API (which powers the live stats in the server Home page, and features like websockets for the backup page). You should see considerably lower build times on this branch 🎉
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pyrodactyl#405