pxt-arcade
pxt-arcade copied to clipboard
multiplayer: consider using a more scalable state management framework
In the multiplayer client, we use a lightweight redux-like state system based on useReducer
and useContext
. Like redux, it features a monolithic reducer method that at some point will cease to scale well.
In a future iteration, consider alternate frameworks, like zustand https://github.com/pmndrs/zustand