Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2ef69e5
chore: remove example app and update configs
MarcelOlsen Feb 13, 2026
0edb034
chore: update config
MarcelOlsen Feb 14, 2026
9ab2a6c
chore(ci): reorder ci jobs
MarcelOlsen Feb 15, 2026
fc7cbe3
feat: add fiber type definitions and update core types
MarcelOlsen Feb 13, 2026
c1702e0
fix: type defs
MarcelOlsen Feb 13, 2026
950542f
chore: address review feedback
MarcelOlsen Feb 15, 2026
f7af613
chore: address further review feedback
MarcelOlsen Feb 15, 2026
2e73945
fix: add WorkTag.HostPortal to StateNodeFor type
MarcelOlsen Feb 15, 2026
e0d8218
feat: add fiber type guards and assertion utilities
MarcelOlsen Feb 13, 2026
0ac7f6c
fix: address review feedback
MarcelOlsen Feb 15, 2026
732d6af
fix: address review comments
MarcelOlsen Feb 15, 2026
f7cc92d
chore: fix again
MarcelOlsen Feb 15, 2026
9d9c9e1
fix: address review feedback
MarcelOlsen Feb 15, 2026
ac6459c
fix: update typeGuards.ts
MarcelOlsen Feb 15, 2026
5665e2f
chore: format coderabbit suggestion
MarcelOlsen Feb 15, 2026
946f3f0
chore: review feedback
MarcelOlsen Feb 15, 2026
eaebf87
chore: more fixes
MarcelOlsen Feb 15, 2026
adbf41b
refactor: strengthen fiber type guards with runtime validation and cl…
MarcelOlsen Feb 17, 2026
ef8320c
feat: add lane-based priority system
MarcelOlsen Feb 13, 2026
f1978d1
feat: add fiber scheduler and work-in-progress tree management
MarcelOlsen Feb 13, 2026
5dff3cb
feat: add fiber factory functions
MarcelOlsen Feb 13, 2026
04ee5cf
feat: add fiber tree utilities and effect system
MarcelOlsen Feb 13, 2026
0652684
feat: add child reconciliation with key-based diffing
MarcelOlsen Feb 13, 2026
6bb3fb5
feat: add fiber-based hook implementations
MarcelOlsen Feb 13, 2026
23d8891
feat: add render phase (beginWork + completeWork)
MarcelOlsen Feb 13, 2026
c246ba9
feat: add commit phase (commitWork + commitRoot)
MarcelOlsen Feb 13, 2026
d38c52c
feat: update event system for fiber architecture
MarcelOlsen Feb 13, 2026
6319d88
feat: add work loop and fiber module index
MarcelOlsen Feb 13, 2026
1f795bd
feat: add SSR hydration and resumability support
MarcelOlsen Feb 13, 2026
0de43c8
feat: switch public API to fiber architecture
MarcelOlsen Feb 13, 2026
ac2a4fe
test: update test suite for fiber architecture
MarcelOlsen Feb 13, 2026
cbc2b93
feat(fiber): harden type safety, add scheduler + showcase
MarcelOlsen May 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ jobs:
- name: 📦 Install dependencies
run: bun install

- name: 🧪 Run tests
run: bun test

- name: 🔍 Lint and format check
run: bun run check

- name: 🔎 Typecheck
run: bun run typecheck

- name: 🧪 Run tests
run: bun test

- name: 🏗️ Test build
run: bun run build

Expand Down
13 changes: 0 additions & 13 deletions .trae/rules/project_rules.md

This file was deleted.

31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,28 @@ Each phase includes clear specifications, working implementations, and extensive

## Current Status

🆕 **Current Phase**: Stable Release Track - Phase 12 ✅ **COMPLETE**
🆕 **Current Phase**: Stable Release Track - Phase 13 ✅ **COMPLETE**

**Latest Achievements**:

- ✅ **Phase 12 Complete**: Performance Optimization Suite - memo, useMemo, useCallback with comprehensive test coverage
- ✅ **Enhanced Performance**: React.memo equivalent for component memoization and optimization hooks
- ✅ **272 Tests Passing**: Comprehensive test suite covering all functionality including performance optimizations
- ✅ **Zero Linter Issues**: Clean codebase with consistent formatting and biome configuration
- ✅ **Complete Performance Toolkit**: memo, useMemo, useCallback hooks for production-grade optimization
- ✅ **Production-Ready**: Robust error handling, TypeScript support, and comprehensive edge case coverage
- ✅ **Package Preparation**: Ready for npm registry publication with performance features
- ✅ **Fiber Reconciler**: Real React-like fiber architecture with work loop, begin/complete work, and commit phases
- ✅ **Lane-Based Priorities**: Branded `Lane`/`Lanes` type system with priority scheduling and lane merging
- ✅ **Scheduler**: Binary min-heap task queue with `scheduleCallback`, `shouldYield`, and priority levels
- ✅ **Concurrent Rendering Groundwork**: `performConcurrentWorkOnRoot` with time-slicing support
- ✅ **Type Safety Hardening**: Centralised unsafe-cast boundary (`bitwise.ts`), zero stray `as number` casts, compile-time enforcement
- ✅ **473 Tests Passing**: Comprehensive test suite across 38 files with 1,526 expectations
- ✅ **Zero Type Errors**: `bun typecheck` clean (0 errors)
- ✅ **Interactive Showcase**: Live browser demo at `examples/interactive-showcase/`

**Stable Release Progress**: 1/9 phases complete (11% complete) 🚀
**Stable Release Progress**: 2/9 phases complete (22% complete) 🚀

**Immediate Milestones**:

- 🚀 **npm Package Publication**: Package will be available on npm registry soon
- 📦 **Alpha Release v0.1.0**: Complete core React-like functionality now available
- 📚 **Documentation & Examples**: Comprehensive guides and demo applications
- 🚀 **npm Package v0.3.0**: Published with fiber reconciler and performance toolkit
- 📚 **Documentation & Examples**: Interactive showcase + updated API docs
- 🧪 **Testing & Quality Assurance**: Phase 19 test coverage underway

**Post-Alpha Roadmap**: 12 additional phases planned for stable v1.0.0 release with advanced features including concurrent rendering, SSR, dev tools, and production optimizations.
**Post-Alpha Roadmap**: 11 additional phases planned for stable v1.0.0 release with advanced features including concurrent rendering, SSR, dev tools, and production optimizations.

---

Expand Down Expand Up @@ -378,7 +379,7 @@ const App = () => {

### 📋 Testing & Quality

- **261 Comprehensive Tests**: Full test coverage for all features and edge cases including all hooks
- **473 Comprehensive Tests**: Full test coverage for all features and edge cases including all hooks
- **TypeScript Support**: Full type safety with detailed type definitions
- **Linting & Formatting**: Biome-based code quality and consistent formatting
- **Error Handling**: Graceful degradation and helpful error messages
Expand Down Expand Up @@ -581,7 +582,7 @@ mini-react/
- ✅ Advanced rendering (Portals, Fragments)
- ✅ Production-ready reconciliation engine
- ✅ Comprehensive TypeScript support
- ✅ 261 tests with full coverage
- ✅ 473 tests with full coverage
- ✅ Developer-friendly API matching React patterns
- ✅ npm package ready for publication

Expand Down
6 changes: 6 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
"noUnusedImports": "error",
"noUnusedVariables": "error"
},
"complexity": {
"useLiteralKeys": "off"
},
"style": {
"noNonNullAssertion": "error"
},
"security": {
"noGlobalEval": "warn"
}
Expand Down
23 changes: 19 additions & 4 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading