webdevcody / survive-the-night-sim

https://survive-the-night-sim-production.up.railway.app
MIT License
38 stars 24 forks source link

React Performance Optimisation #138

Closed FleetAdmiralJakob closed 1 month ago

FleetAdmiralJakob commented 1 month ago

We should probably update a few dependency arrays and add a few useCallbacks or adopt the React Compiler ig.

image

Example is from the Visualizer component

image

PS: I don't know anything about React Performance Optimisation I just found these ESLint warnings

delasy commented 1 month ago

the reason why these are warnings is because it's not applicable in all cases, we are aware of these warnings and everything works as expected