Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9d6e19d
chore(deps): bump three and @types/three to ^0.181
bigmistqke May 26, 2026
5e3847d
feat(types): introduce RendererLike + Renderer union + Register augme…
bigmistqke May 26, 2026
4fa05bd
feat(canvas): accept RendererLike, await init, structural color mgmt,…
bigmistqke May 26, 2026
96101c7
feat(utils): isRenderer + duck-typed manager narrows + getPendingInit
bigmistqke May 26, 2026
cfd353b
feat(xr): warn when context.xr.connect/disconnect is a no-op
bigmistqke May 26, 2026
00c7fe5
refactor(create-three): use createSignal(async fn) for renderer init
bigmistqke May 26, 2026
365bff9
fix(utils): meta() preserves getters without invoking at merge-time
bigmistqke May 26, 2026
56973ad
feat(canvas): firewall construction memos against reactive prop content
bigmistqke May 26, 2026
0ff4f4d
feat(canvas): accept [ctorArgs, properties] tuple for the gl prop
bigmistqke May 26, 2026
8f0db33
fix(props): duck-type Material/Object3D/Fog/BufferGeometry attach checks
bigmistqke May 26, 2026
003723a
fix(create-three): drop merge when calling useSceneGraph
bigmistqke May 26, 2026
4c46027
fix(Resource): tag loaded resource with meta so parent attach works
bigmistqke May 26, 2026
a56db78
refactor(utils): consolidate isWritable into utils.ts
bigmistqke May 26, 2026
4a31684
fix(create-three): autodispose gl, canDriveXR for WebGL+WebGPU, lates…
bigmistqke May 26, 2026
13be0d9
test(setup): stack-trace STRICT_READ_UNTRACKED warnings
bigmistqke May 26, 2026
bb83525
test: port renderer + use-loader-suspense + hooks + api-coverage regr…
bigmistqke May 26, 2026
c43efe9
ci: bump Node to 22 + add Playwright install + pnpm v11 allowBuilds
bigmistqke May 26, 2026
fd5843b
fix(create-three): wrap camera memo result with meta() for symmetry
bigmistqke May 26, 2026
08f044e
test: switch to vitest browser mode with Playwright, drop jsdom
bigmistqke May 26, 2026
5b84e3f
fix(useMeasure): populate bounds synchronously on element attach
bigmistqke May 26, 2026
8a53eb0
refactor(canvas): replace gl tuple form with flat r3f-style object + …
bigmistqke May 26, 2026
90000cc
docs(canvas): update gl prop JSDoc to match the flat-form API
bigmistqke May 26, 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
5 changes: 4 additions & 1 deletion .github/workflows/pkg-pr-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install

- name: Install Playwright Chromium
run: pnpm exec playwright install --with-deps chromium

- name: Typecheck
run: pnpm lint:types

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ types
node_modules
demo/node_modules
packed/

# vitest browser mode
.vitest-attachments/
tests/**/__screenshots__/
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@solidjs/router": "0.17.0-next.1",
"@solidjs/testing-library": "^0.8.10",
"@solidjs/web": "2.0.0-beta.10",
"@types/three": "^0.164.1",
"@types/three": "^0.181.0",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"dpdm": "^3.14.0",
Expand All @@ -95,14 +95,16 @@
"eslint-plugin-no-only-tests": "^3.3.0",
"jest": "^29.7.0",
"jiti": "^2.5.1",
"jsdom": "^24.1.0",
"@vitest/browser": "^4.1.7",
"@vitest/browser-playwright": "^4.1.7",
"playwright": "^1.60.0",
"prettier": "^3.8.3",
"remark-gfm": "^3.0.1",
"rollup": "^4.18.0",
"rollup-plugin-dts": "^6.1.1",
"solid-app-router": "^0.1.14",
"solid-js": "2.0.0-beta.10",
"three": "^0.164.1",
"three": "^0.181.2",
"three-stdlib": "^2.36.0",
"tsm": "^2.3.0",
"tsup": "^8.0.2",
Expand All @@ -112,7 +114,7 @@
"vite-plugin-dts": "^4.5.4",
"vite-plugin-inspect": "0.8.4",
"vite-plugin-solid": "next",
"vitest": "^4.1.2"
"vitest": "^4.1.7"
},
"peerDependencies": {
"@solidjs/signals": "*",
Expand Down
4 changes: 3 additions & 1 deletion playground/controls/orbit-controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ export function OrbitControls(props: OrbitControlsProps) {

useFrame(() => controls().update())

whenEffect(controls, controls => controls.connect(props.domElement ?? three.gl.domElement))
whenEffect(controls, controls =>
controls.connect(props.domElement ?? (three.gl.domElement as HTMLElement)),
)

createEffect(
() => ({ callback: config.onStart, _controls: controls() }),
Expand Down
Loading
Loading