State management libraries help structure, update, share, or cache state when local component state is not enough.