Closed Bloomca closed 1 month ago
It is a bit awkward to create both onMount and onUnmount, and then save a reference in a closure. I think the interface would be both more intuitive and also less verbose, and it follows the suite how React works, for example.
onMount
onUnmount
It is a bit awkward to create both
onMount
andonUnmount
, and then save a reference in a closure. I think the interface would be both more intuitive and also less verbose, and it follows the suite how React works, for example.