Post
it is mindbending in the sense that when trying to implement the described behavior, simply returning is not an obvious solution. this is because imperatively it’s usually implemented like if (!wasActive && isActive) { subscribe() } else if (wasActive && !isActive) { unsubscribe() }
0 reposts4 likes