markdalgleish / redial

Universal data fetching and route lifecycle management for React etc.
1.1k stars 42 forks source link

Question about the done hook #26

Closed ratson closed 8 years ago

ratson commented 8 years ago

The example code defined the done hook, but I could not find any other reference about when will it be triggered.

Is it a part of redial managed life cycle? If so, when would it be triggered?

markdalgleish commented 8 years ago

The done hook is merely an example. You can define whatever hooks you like and trigger them whenever you like, whether that includes a done hook or not.