I have recently learned the bloc design pattern in flutter development. I found it a bit similar to redux, which made me wonder:
-
Should
MapEventToState
function be pure like in redux? I saw some tutorials but no one mentioned if this function has to be pure or not. -
If it is, does that mean we can implement undo operation using bloc pattern?
Aucun commentaire:
Enregistrer un commentaire