fre

:ghost: Tiny Concurrent UI library with Fiber.

23 articles 3.8k View on GitHub ↗
23 articles
How Fre Tracks Promises for Suspense Boundaries: WeakMap and Fiber Architecture

Discover how Fre tracks promises for Suspense boundaries using WeakMap and Fiber architecture. Learn about the efficient promise handling in Frejs.

internals
Mar 2, 2026
What Is the Typical Time Slicing Threshold in Fre's Concurrent Mode?

Discover Fre's concurrent mode time slicing threshold. Learn how its fixed 5 ms slice ensures UI responsiveness during intensive tasks and improves user experience.

internals
Mar 2, 2026
How Fre Uses a bMap in Its Diff Algorithm for Fast Key Lookup

Discover how Fre uses a bMap for O(1) key lookup in its diff algorithm, optimizing keyed list reconciliation and avoiding slow O(n²) scans.

internals
Mar 2, 2026
What Operations Does Fre’s Diff Algorithm Support? UPDATE, INSERT, MOVE, and REMOVE Explained

Discover the operations Fre's diff algorithm supports: UPDATE, INSERT, MOVE, and REMOVE. Learn how Fre handles each efficiently for better performance.

internals
Mar 2, 2026
How Fre's Diff Algorithm Optimizes Head and Tail Matching

Learn how Fre's diff algorithm optimizes head and tail matching to speed up reconciliation by comparing only the middle section of child fiber arrays.

deep-dive
Mar 2, 2026
Fre's Offscreen Mode: How It Powers Suspense in the Fre Framework

Discover Fre's Offscreen mode for creating suspenseful UIs. Render subtrees without DOM commit, allowing background content preparation with Suspense.

deep-dive
Mar 2, 2026
How Fre's `memo()` HOC Optimizes Component Rendering: A Deep Dive into the Source Code

Discover how Fre's memo() HOC optimizes rendering by preventing re-renders when props don't change. Explore shallow comparison and custom equality functions.

deep-dive
Mar 2, 2026
How Fre Implements useContext for Context Propagation: A Deep Dive into the Source Code

Learn how Fre implements useContext for context propagation. Explore source code and discover its subscriber-based notification and fiber tree traversal techniques. Optimize your Fre.js apps today.

deep-dive
Mar 2, 2026
Fre's useMemo and useCallback Hooks: A Deep Dive into Memoization

Master Fre's useMemo and useCallback hooks. Learn how these memoization techniques optimize performance by caching computations and stable function references.

deep-dive
Mar 2, 2026
How Side Effects Are Managed in Fre Using useEffect and useLayoutEffect

Learn how Fre manages side effects with useEffect and useLayoutEffect. Understand their timing for DOM painting and asynchronous updates to optimize your Fre apps.

deep-dive
Mar 2, 2026
State Management Hooks in Fre: useState and useReducer Explained

Discover Frejs state management hooks useState and useReducer. Learn how to manage simple and complex component states effectively with these React-compatible tools.

deep-dive
Mar 2, 2026
What Is the Fre bubble() Function? Processing Hook Effects in the Reconciler

Discover how Fre's bubble() function processes component side-effects. Learn about layout and normal effects running synchronously and after DOM commit for efficient reconciliation.

internals
Mar 2, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →