---
id: Bbeierle12/Skill-MCP-Claude/r3f-fundamentals
version: "51f64c56"
license: MIT
install: manual
updated: 2026-07-27
---
# r3f-fundamentals — Master the essentials of React Three Fiber by configuring your first Canvas component and establishing a foundational 3D environment. This skill walks you through the core setup patterns and scene architecture needed to begin rendering interactive 3D graphics in React.
Publisher: Bbeierle12 · Stars: 8 · Updated: 2026-07-27
Install (manual): `git clone https://github.com/Bbeierle12/Skill-MCP-Claude`
## SKILL.md
# React Three Fiber Fundamentals
Declarative Three.js via React components. R3F maps Three.js objects to JSX elements with automatic disposal, reactive updates, and React lifecycle integration.
## Quick Start
```tsx
import { Canvas } from '@react-three/fiber';
function App() {
return (
);
}
```
## Core Principle: Declarative Scene Graph
R3F converts Three.js imperative API to React's declarative model:
| Three.js (Imperative) | R3F (Declarative) |
|----------------------|-------------------|
| `new THREE.Mesh()` | `` |
| `mesh.position.set(1, 2, 3)` | `` |
| `scene.add(mesh)` | JSX nesting handles hierarchy |
| `mesh.geometry.dispose()` | Automatic on unmount |
## Canvas Configuration
```tsx
import { Canvas } from '@react-three/fiber';