Skip to content
Merged
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
c161a38
feat: implement core reactivity system with Node, Signal, Memo, Effec…
volynetstyle Oct 10, 2025
0d3e690
refactor: remove unused ownership and reactivity files
volynetstyle Oct 17, 2025
8fd93c0
feat: Implement Unrolled Queue and Stack data structures
volynetstyle Oct 21, 2025
ee55c5f
feat: Update environment configuration and enhance reactive graph str…
volynetstyle Oct 25, 2025
1b051c5
feat: GraphOperations and update ownership interfaces for improved re…
volynetstyle Oct 26, 2025
2776283
feat: integrate Queueable interface into UnrolledQueue and update deq…
volynetstyle Oct 26, 2025
39b9434
feat: add example components and type declarations for Reflex library
volynetstyle Oct 28, 2025
bcd3cb1
chore: remove node_modules from tracking
volynetstyle Oct 28, 2025
cd7c939
chore: add pnpm workspace configuration to manage packages
volynetstyle Nov 8, 2025
d8859a9
feat: remove outdated test files and replace with Vitest benchmarks f…
volynetstyle Nov 12, 2025
60dd724
feat: update test script to use Vitest and add comprehensive tests fo…
volynetstyle Nov 12, 2025
d0f2da2
refactor: update ownership context management and fix test assertions…
volynetstyle Nov 12, 2025
bd5f716
refactor: remove unused collections and streamline ownership management
volynetstyle Nov 14, 2025
b49fda5
Delete rigidify library and its associated files, including LICENSE, …
volynetstyle Nov 15, 2025
f50154f
refactor: comment out outdated tests for child-parent relationships i…
volynetstyle Nov 15, 2025
85f374d
feat: implement graph linking and unlinking functionality
volynetstyle Nov 18, 2025
20ff217
feat: enhance graph linking functionality with new unsafe operations …
volynetstyle Nov 18, 2025
68d646c
refactor: replace ownership prototype with OwnershipNode class
volynetstyle Nov 18, 2025
0280064
refactor: remove outdated graph constants and prototype methods, rest…
volynetstyle Nov 19, 2025
58366d5
refactor: reorganize imports for graph linker and intrusive utilities
volynetstyle Nov 19, 2025
6955965
docs: add initial content to Readme.md
volynetstyle Nov 19, 2025
84e96b6
Refactor graph module and improve tests
volynetstyle Nov 20, 2025
9556b55
Update some invariants
volynetstyle Nov 24, 2025
436b0d6
fix: replace semicolon and incorected types
volynetstyle Nov 25, 2025
a4e7031
fix: replace semicolon and fixed types with separated files to clean …
volynetstyle Nov 25, 2025
f9428bd
refactor: brought order, did not break the magic
volynetstyle Nov 27, 2025
fe22617
Added few md files
volynetstyle Nov 27, 2025
861328a
feat: developed new aproach for making tests
volynetstyle Nov 27, 2025
adb04f5
feat: ready to implement casuality
volynetstyle Nov 28, 2025
8453aaf
feat(storage): implement Uint64Array for high-performance 64-bit storage
volynetstyle Dec 11, 2025
2074d60
refactor: remove deprecated graph operations and ownership types
volynetstyle Dec 12, 2025
e7ca354
Refactor ownership tests and benchmarks to use OwnershipService; add …
volynetstyle Dec 12, 2025
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
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
ci:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Install deps
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm lint

- name: Typecheck
run: pnpm typecheck

- name: Test
run: pnpm test -- --runInBand

- name: Build
run: pnpm build
115 changes: 101 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,107 @@
.DS_STORE
node_modules
.flowconfig
*~
*.pyc
.grunt
_SpecRunner.html
__benchmarks__
# -------------------------------------------------------
# 🧠 CORE: Node / TypeScript / Reflex Monorepo
# -------------------------------------------------------

# Dependencies
node_modules/
.pnpm-store/
.pnp.*
.pnp.cjs
.pnp.loader.mjs

# Build outputs
dist/
build/
remote-repo/
lib/
out/
tsbuildinfo
*.tsbuildinfo

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
*.log

# Coverage and test output
coverage/
*.log*
.nyc_output/
__tests__/temp/
__benchmarks__/
*.lcov
jest-cache/
jest-test-results.json

# -------------------------------------------------------
# 🧩 IDE & System
# -------------------------------------------------------
.idea/
.vscode/
*.iml
*.sublime-project
*.sublime-workspace
.idea
*.iml
.vscode
*.swp
*.swo
drafts/
*.tmp
*~
.DS_Store
Thumbs.db
desktop.ini

# -------------------------------------------------------
# 🧰 Tools / Build Systems
# -------------------------------------------------------
.grunt/
gulpfile.js
webpack.config.js
rollup.config.js
parcel-cache/
.next/
.nuxt/
.cache/
.eslintcache

# -------------------------------------------------------
# 🧪 Misc & drafts
# -------------------------------------------------------
drafts/
remote-repo/
*.pyc
.flowconfig
_SpecRunner.html
*.tgz

# -------------------------------------------------------
# ⚙️ Environment
# -------------------------------------------------------
.env
.env.*
!.env.example
*.local
*.secret

# -------------------------------------------------------
# 🧱 Monorepo specific
# -------------------------------------------------------
/packages/*/dist/
/packages/*/.tsbuildinfo
/packages/*/.turbo/
/packages/*/.cache/
/packages/*/node_modules/

# -------------------------------------------------------
# 🚀 Editor backups
# -------------------------------------------------------
*.bak
*.orig
*~
*.rej

# -------------------------------------------------------
# 🪄 Custom project entries
# -------------------------------------------------------
drafts/
logs/
temp/
tmp/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm test
File renamed without changes.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.19.0
v25.2.0
File renamed without changes.
File renamed without changes.
177 changes: 177 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
# Code of Conduct — Reflex Community

![Community First](https://img.shields.io/badge/ethos-community%20first-blue)
![No Toxicity](https://img.shields.io/badge/zero-toxicity-success)
![Action Driven](https://img.shields.io/badge/practice-over%20theory-orange)
![Human Centered](https://img.shields.io/badge/human-centered-purple)

This is not a “rules list”.
This is a **living operating system for how we treat people** inside the Reflex ecosystem.

Reflex is not just a technical project.
It is a human environment built for growth, safety, clarity, and respect.

Participation in this community means accepting and living by the following principles.

---

## Our Core Commitment

We are committed to providing a harassment-free, supportive, and empowering experience for everyone, regardless of:

- experience level
- gender identity
- sexual orientation
- disability
- nationality
- communication style
- beliefs or background

**People come before code. Always.**

---

## The Three Core Dangers (And Our Antidotes)

### 1. Reality Gap

When values stay in documents instead of real actions.

**Counter-measure:**

- Every principle must be visible in real behavior.
- Every month → at least one public act reflecting this Code.
- If a rule is not practiced → rewrite or remove it.

---

### 2. Moral High Ground Without People

A code without people becomes a monument to ego.

**Counter-measure:**

- No inner circles or “chosen ones”
- Invite at least one new person monthly
- Always ask:
_“Who else could be strengthened by this?”_

---

### 3. Over-Seriousness

Coldness destroys creativity and safety.

**Counter-measure:**

- Humor is welcome. Humiliation is not.
- Weekly space for lightness, creativity, experimentation
- Complex ideas must include example or analogy

If people feel unsafe — something is broken.

---

## Expected Behavior

You are expected to:

- Treat everyone with respect and empathy
- Use inclusive, kind, clear language
- Assume good intent before judging
- Accept constructive feedback
- Support others’ growth
- Take responsibility for your impact
- Admit mistakes openly

---

## Unacceptable Behavior

This is not tolerated:

- Harassment or discrimination
- Personal attacks, sarcasm, humiliation
- Arrogance and superiority
- Threats, intimidation, gaslighting
- Trolling or deliberate disruption

Being technically right is **never** an excuse to harm someone.

---

## Criticism Rule

Criticism is only allowed when:

1. It is constructive
2. It includes a solution
3. It is delivered respectfully

No solution → no criticism.

---

## Mistakes Are Not Crimes

- Your mistake → admit it
- Others’ mistakes → help, don’t shame

Only:

> “Here is where it happened. Let’s fix it.”

---

## Responsibility of the Stronger

If you have more experience, visibility, or power:

- You protect, not dominate
- You create safety, not fear
- You lift, not push down

Power = responsibility.

---

## Rule for Maintainers

Maintainers must be:

- The calmest
- The most respectful
- The most accountable

Culture always reflects leadership.

---

## Reporting & Enforcement

Report violations to: **[ADD CONTACT HERE]**

All reports will be treated confidentially and seriously.

Possible actions:

- Warning
- Temporary restriction
- Permanent ban

Goal: **healing and safety**, not punishment.

---

## The Reflex Test

Before pressing “Send”, ask yourself:

> Will this make the person stronger — or smaller?

If “smaller” — don’t send it.

---

**Reflex is not just a runtime.
It is a space where people grow.**
Loading
Loading