Redux - Loading initial state asynchronously
问题 I'm trying to work out the cleanest way to load the initial state of my Redux stores when it comes from API calls. I understand that the typical way of providing the initial state is to generate it server-side on page load, and provide it to Redux createStore() as a simple object. However, I'm writing an app that I'm planning on packaging up in Electron and so this doesn't work. The best that I've been able to come up with so far is to fire an action immediately after creating the store that