> ... managing state on the server is not fun at all.

Do you not have a database for your backend? Managing state is kind of their thing.