The idea with any reference implementation is to directly illustrate, using code, how something is supposed to work. The Facebook reference implementation of the Flux dispatcher does just that—we can use it in a real Flux architecture and get results. We also gain an understating of the abstract dispatcher interface. Put another way, the reference implementation is kind of like software requirements, expressed in code form.
In this section, we'll try to better understand what these minimum requirements are before we dive into our own dispatcher implementation. The first essential piece of functionality that the dispatcher must implement is store registration so that the dispatcher can dispatch payloads to it. Then, we need the actual dispatching mechanism, which iterates over the registered stores and delivers payloads. Finally, we have the dependency semantics to think about while we're dispatching payloads.