Overview of Refract custom optics
Custom optics are functions that encapsulate reactive state, side effects, and computed values into reusable units. They are similar to React hooks but offer enhanced capabilities including dependency-aware caching (automatic memoization of expensive computations), animation-aware transitions, automatic resource cleanup, and seamless composability.