When making a custom hook that needs a reference to a DOM node, your first guess would be to use the new useRef hook. It was certainly mine. So naturally I went with that for my first implementation of Hooks in react-intersection-observer — But then an interesting issue came up, that I hadn’t considered. [Question] How would you handle conditional rendering with hooks? · Issue #162 ·… First, I'd l

