📄️ Manage Docs Versions
Docusaurus can manage multiple versions of your docs.
📄️ Refractions
Refractions are the core reactive state primitive in Refract. They allow you to manage state in a way that is simple, predictable, and automatically updates your UI when values change.
📄️ Lenses
Lenses are a core concept in Refract, providing a unified interface for managing state, props, effects, and more within your components. They enable you to interact with all aspects of a component's data and lifecycle in a consistent and predictable way.
📄️ Optical Composition
Optical composition in Refract refers to the practice of building reusable logic and state patterns using "optics"—custom hooks that encapsulate stateful or side-effectful behavior. This approach allows you to compose complex features from simple, focused units of logic.
📄️ Side Effects
Side effects are operations that interact with the outside world or cause changes outside the scope of your component's render logic. In Refract, you handle side effects using lens.useEffect, which is similar to React's useEffect but designed for fine-grained reactivity.