I really starting to like this library. One thing that I don't understand it how to use this with for instance `useEffect` in React where you have an external teardown function... Can you provide any example how to do that? <3