├── .eslintrc.cjs ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── LICENSE ├── README.md ├── package.json ├── pnpm-lock.yaml ├── src ├── constants.ts ├── core.ts ├── effect.ts ├── error.ts ├── flags.ts ├── globals.d.ts ├── index.ts └── owner.ts ├── tests ├── async.test.ts ├── catchError.test.ts ├── createEffect.test.ts ├── createMemo.test.ts ├── createRoot.test.ts ├── createSignal.test.ts ├── errorPropagation.test.ts ├── flushSync.test.ts ├── gc.test.ts ├── getOwner.test.ts ├── graph.test.ts ├── onCleanup.test.ts ├── runWithOwner.test.ts └── untrack.test.ts ├── tsconfig.build.json ├── tsconfig.json ├── tsup.config.ts ├── vite.config.ts └── vitest_gc.js /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | coverage/ 4 | types/ 5 | sandbox/ 6 | .DS_STORE 7 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | coverage/ 3 | pnpm-lock.yaml 4 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Bubble Reactivity 2 | 3 | The start of something good. 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/src/core.ts -------------------------------------------------------------------------------- /src/effect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/src/effect.ts -------------------------------------------------------------------------------- /src/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/src/error.ts -------------------------------------------------------------------------------- /src/flags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/src/flags.ts -------------------------------------------------------------------------------- /src/globals.d.ts: -------------------------------------------------------------------------------- 1 | declare global { 2 | const __DEV__: boolean 3 | } 4 | 5 | export {} 6 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/owner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/src/owner.ts -------------------------------------------------------------------------------- /tests/async.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/async.test.ts -------------------------------------------------------------------------------- /tests/catchError.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/catchError.test.ts -------------------------------------------------------------------------------- /tests/createEffect.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/createEffect.test.ts -------------------------------------------------------------------------------- /tests/createMemo.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/createMemo.test.ts -------------------------------------------------------------------------------- /tests/createRoot.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/createRoot.test.ts -------------------------------------------------------------------------------- /tests/createSignal.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/createSignal.test.ts -------------------------------------------------------------------------------- /tests/errorPropagation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/errorPropagation.test.ts -------------------------------------------------------------------------------- /tests/flushSync.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/flushSync.test.ts -------------------------------------------------------------------------------- /tests/gc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/gc.test.ts -------------------------------------------------------------------------------- /tests/getOwner.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/getOwner.test.ts -------------------------------------------------------------------------------- /tests/graph.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/graph.test.ts -------------------------------------------------------------------------------- /tests/onCleanup.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/onCleanup.test.ts -------------------------------------------------------------------------------- /tests/runWithOwner.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/runWithOwner.test.ts -------------------------------------------------------------------------------- /tests/untrack.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tests/untrack.test.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest_gc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bubblegroup/bubble-reactivity/HEAD/vitest_gc.js --------------------------------------------------------------------------------