Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

[![logo](docs/logo.jpg)](https://codesandbox.io/s/bfplr)

> [!WARNING]
> **v11 Alpha** — This package is currently in **alpha** for v11. APIs, files, and features are **subject to change**.
> [!WARNING] > **v11 Alpha** — This package is currently in **alpha** for v11. APIs, files, and features are **subject to change**.
>
> 📖 **[Migration Guide](./devDocs/MIGRATION_V10_TO_V11.md)** — Start here for upgrade instructions
>
Expand All @@ -26,11 +25,9 @@ If you make a component that is generic enough to be useful to others, think abo
npm install @react-three/drei
```

> [!IMPORTANT]
> **v11 is ESM-only.** We no longer ship CommonJS bundles. This follows the ecosystem-wide shift to ESM as the standard — matching `@react-three/fiber`, Three.js, and [Storybook 10](https://storybook.js.org/blog/storybook-is-going-esm-only/). All modern bundlers handle ESM natively.
> [!IMPORTANT] > **v11 is ESM-only.** We no longer ship CommonJS bundles. This follows the ecosystem-wide shift to ESM as the standard — matching `@react-three/fiber`, Three.js, and [Storybook 10](https://storybook.js.org/blog/storybook-is-going-esm-only/). All modern bundlers handle ESM natively.

> [!NOTE]
> ~~This package is using the stand-alone [`three-stdlib`](https://github.com/pmndrs/three-stdlib) instead of [`three/examples/jsm`](https://github.com/mrdoob/three.js/tree/master/examples/jsm).~~
> [!NOTE] > ~~This package is using the stand-alone [`three-stdlib`](https://github.com/pmndrs/three-stdlib) instead of [`three/examples/jsm`](https://github.com/mrdoob/three.js/tree/master/examples/jsm).~~
> Reliance on STD-Lib has been removed with v11. The threejs repo and @types folks are doing a much better job and supporting/working with core on these common assets serves us better.

New scripts, components, shaders, can be addded here in this repo or in the upcoming market.
Expand Down
13 changes: 0 additions & 13 deletions devDocs/MIGRATION_V10_TO_V11.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@

---

> ⚠️ **Bundled R3F v10**
>
> This alpha release **bundles @react-three/fiber v10** directly until R3F v10 is published to NPM.
> Once R3F v10 alpha is available on NPM, drei will switch to a normal peer dependency.
>
> **What this means for you:**
>
> - Don't install R3F separately — it's included
> - Your project may have version conflicts if you have an existing R3F installation
> - Remove any existing `@react-three/fiber` from your dependencies before testing

---

## Progress: ~90%

**What's left:**
Expand Down
Binary file removed lib/react-three-fiber-10.0.0-alpha.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"@babel/preset-typescript": "^7.26.0",
"@chromatic-com/storybook": "^4.1.3",
"@playwright/test": "^1.45.2",
"@react-three/fiber": "file:./lib/react-three-fiber-10.0.0-alpha.0.tgz",
"@react-three/fiber": "^10.0.0-alpha.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3400,7 +3400,7 @@ __metadata:
"@mediapipe/tasks-vision": "npm:0.10.17"
"@monogrid/gainmap-js": "npm:^3.0.6"
"@playwright/test": "npm:^1.45.2"
"@react-three/fiber": "file:./lib/react-three-fiber-10.0.0-alpha.0.tgz"
"@react-three/fiber": "npm:^10.0.0-alpha.0"
"@rollup/plugin-babel": "npm:^5.3.0"
"@rollup/plugin-commonjs": "npm:^19.0.0"
"@rollup/plugin-json": "npm:^4.1.0"
Expand Down Expand Up @@ -3481,9 +3481,9 @@ __metadata:
languageName: unknown
linkType: soft

"@react-three/fiber@file:./lib/react-three-fiber-10.0.0-alpha.0.tgz::locator=%40react-three%2Fdrei%40workspace%3A.":
"@react-three/fiber@npm:^10.0.0-alpha.0":
version: 10.0.0-alpha.0
resolution: "@react-three/fiber@file:./lib/react-three-fiber-10.0.0-alpha.0.tgz#./lib/react-three-fiber-10.0.0-alpha.0.tgz::hash=76b84f&locator=%40react-three%2Fdrei%40workspace%3A."
resolution: "@react-three/fiber@npm:10.0.0-alpha.0"
dependencies:
"@babel/runtime": "npm:^7.17.8"
dequal: "npm:^2.0.3"
Expand All @@ -3500,7 +3500,7 @@ __metadata:
peerDependenciesMeta:
react-dom:
optional: true
checksum: 10c0/2752bc63bd80b3633fcc8b8cd820fad779461930980fb86f62cd05e74dee9d9c9827feb967ef657356af9b354bcb3a170a651b4b9cd079b3545cac41885f53e3
checksum: 10c0/606a1206bf769df51d9e8d9f132d63bc9045f6cc66a25805a74ea166271bf0fdace9a4091d9479cc2458b21a7e4b44d7f9e819ade12ec4619af70a3397b2cb5c
languageName: node
linkType: hard

Expand Down
Loading