This fixes the mappings for beforeDestroy and destroyed, they should be onBeforeUnmount and onUnmounted.
Refactored how the mappings work so they it doesn't manipulate the string but just uses a Map. This slightly simplifies the convertIntervalHook function
This fixes the mappings for
beforeDestroy
anddestroyed
, they should beonBeforeUnmount
andonUnmounted
.Refactored how the mappings work so they it doesn't manipulate the string but just uses a Map. This slightly simplifies the
convertIntervalHook
function