mardi 13 décembre 2016

What is the translator pattern in elm?

In the elm git book an architecture is described wherein child components generate messages which are disseminated via the main update function, eventually being handled by the appropriate update function in a child component. How does the translator pattern differ from this and what are the use cases of each pattern. Please provide a simple example.

Aucun commentaire:

Enregistrer un commentaire