pxt-arcade icon indicating copy to clipboard operation
pxt-arcade copied to clipboard

multiplayer: consider using a more scalable state management framework

Open eanders-ms opened this issue 2 years ago • 0 comments

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

eanders-ms avatar Oct 03 '22 19:10 eanders-ms