Observer in Cubit?
Gene-Dana opened this issue ยท 3 comments
Gene-Dana commented
Hey there is the advantage of using BLoC over Cubit because BLoC has an observer which prints out Current State, the Event and the Next State in the Observer?
Or is that possible inside Cubit too?
chimon2000 commented
Cubit doesn't have a concept of events. The trade-off is you gain simplicity at the cost of the event sourcing capabilities of Bloc.
felangel commented
Hi @Gene-Dana ๐
Thanks for opening an issue!
You can observe state changes in cubit as well with CubitObserver ๐
Closing for now but feel free to comment with additional questions and Iโm happy to continue the conversation ๐
Gene-Dana commented
Cool! Thank you for the prompt reply !