A new pattern has been implemented in downshift and it's awesome. Use the state reducer pattern to make your components more useful.