…t as well be implemented as a higher order component. Looks over my shoulder, in a hushed low tone. It could have even been implemented as a
View and a
Controller. Or a
ViewModel and a
View. The point here is about separating the “mechanism” of flipping coins and the “interface” to that mechanism.