Four Frontend State Management Patterns