UPDATE: by now there are plenty of state management libraries.
Marco Afonso
1261