A minimalist starter for React, React-three-fiber and Threejs in Typescript.
This starter allows you to navigate seamlessly between pages with dynamic dom and/or canvas content without reloading or creating a new canvas every time.
yarn dev
- Next devyarn analyze
- Generate bundle-analyzeryarn lint
- Audit code qualityyarn build
- Next buildyarn start
- Next startyarn export
- Export to static HTML
threejs
– A lightweight, 3D library with a default WebGL renderer.@react-three/fiber
– A React renderer for Threejs on the web and react-native.@react-three/drei
- Optional – useful helpers for react-three-fiber@react-three/a11y
- Optional – Accessibility tools for React Three Fiberr3f-perf
- Optional – Tool to easily monitor react threejs performances.
git clone https://github.com/marc-aurele-besner/react-three-next-ts
&& cd react-three-next-ts && yarn install
This project has been build from a very similar project, just converted to Typescript