{"id":40883556,"url":"https://github.com/renderhq/nullreact","last_synced_at":"2026-02-15T18:34:18.814Z","repository":{"id":307953537,"uuid":"1031168723","full_name":"renderhq/nullreact","owner":"renderhq","description":"Minimal reactive UI runtime • No Virtual DOM • Fine-grained signals • Direct DOM updates • \u003c1KB core","archived":false,"fork":false,"pushed_at":"2026-01-16T09:12:46.000Z","size":51,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-16T23:17:34.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renderhq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-03T06:47:43.000Z","updated_at":"2026-01-16T10:15:05.000Z","dependencies_parsed_at":"2025-08-03T09:34:56.968Z","dependency_job_id":null,"html_url":"https://github.com/renderhq/nullreact","commit_stats":null,"previous_names":["pavanscales/nullreact","renderhq/nullreact"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renderhq/nullreact","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderhq%2Fnullreact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderhq%2Fnullreact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderhq%2Fnullreact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderhq%2Fnullreact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renderhq","download_url":"https://codeload.github.com/renderhq/nullreact/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderhq%2Fnullreact/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28649362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"ssl_error","status_checked_at":"2026-01-22T01:17:35.564Z","response_time":86,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T01:31:14.031Z","updated_at":"2026-01-22T01:31:14.544Z","avatar_url":"https://github.com/renderhq.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# NullReact\n\nNullReact is an experimental reactive UI runtime focused on minimizing abstraction and runtime overhead. It avoids the Virtual DOM entirely and performs direct, fine-grained DOM updates using signals and precise node operations.\n\nThis project is a work in progress and primarily serves as a foundation for exploring zero-overhead UI patterns. Some internals are intentionally minimal and not production-hardened.\n\n## Features\n\n* Fine-grained reactivity via signals\n* No Virtual DOM\n* Microtask-based batching\n* Sub-1KB core runtime\n* Strict TypeScript\n\n## Usage\n\nNullReact is not published to npm. It is intended to be used locally by linking or copying the runtime.\n\n1. **Install dependencies**\n\n   ```bash\n   pnpm install\n   ```\n\n2. **Build the core**\n\n   ```bash\n   pnpm build\n   ```\n\n3. **Link the runtime**\n\n   ```bash\n   cd packages/runtime\n   pnpm link --global\n   ```\n\n4. **Use it in another project**\n\n   ```bash\n   pnpm link --global @nullreact/runtime\n   ```\n\n## API\n\n### `signal`\n\nProvides fine-grained reactive state with dependency tracking.\n\n```ts\nconst count = signal(0);\n\ncount.get();              // read\ncount.set(1);             // write\ncount.update(n =\u003e n + 1); // update\n```\n\n### `h`\n\nJSX factory function. Reactive expressions are tracked and updated by directly mutating DOM nodes rather than diffing trees.\n\n```tsx\nconst View = () =\u003e (\n  \u003cdiv\u003e\n    \u003ch1\u003e{count}\u003c/h1\u003e\n    \u003cbutton onClick={() =\u003e count.update(n =\u003e n + 1)}\u003e+\u003c/button\u003e\n  \u003c/div\u003e\n);\n```\n\n### `mount`\n\nMounts a reactive tree into a DOM container.\n\n```ts\nmount(\u003cView /\u003e, document.getElementById('root')!);\n```\n\n## Examples\n\nGeist-styled examples are available in the `examples` directory:\n\n* **Counter**\n\n  ```bash\n  pnpm example:counter\n  ```\n\n* **TodoMVC**\n\n  ```bash\n  pnpm example:todomvc\n  ```\n\n## Status\n\nThis project is experimental and subject to significant change. APIs and internal behavior are not stable.\n\n---\n\nBuilt by [Render](https://x.com/infinterenders)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenderhq%2Fnullreact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenderhq%2Fnullreact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenderhq%2Fnullreact/lists"}