I found myself challenged to make a fixed-position navigation, which triggers on-scroll. Using React hooks via React Intersection Observer, I created this simple nav, which changes height when scrolling in or out of the viewport, and has text come into focus on page-load.
kr1st1nagr03g3r/react-intersection-observer-navigation-next-js
A fixed position navigation built with React Intersection Observer
JavaScriptUnlicense