react-three-next
use-animation
react-three-next | use-animation | |
---|---|---|
8 | 1 | |
2,222 | 3 | |
2.7% | - | |
3.7 | 1.8 | |
13 days ago | over 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-three-next
-
React Lazy Loading react-three-fiber component
ps, you can also try https://github.com/pmndrs/react-three-next where we have abstracted this stuff. it gets 100% lighthouse score for performance, accessibility, best practices and seo.
-
Next.js Weekly #4: Vercel Ship, PHP to RSCs, Precedent 2.0, Hot Takes πΆοΈ
react-three-next
-
Suggestions needed
there's a whole eco system around three in react and next. it starts with react-three-fiber, drei has tons of helpers, and then there's three-next for when you need 100% lighthouse, persisting canvas across routes etc.
-
I built this super nice looking hero section with three/fiber in next.js. I love how easy it was to get such a result.
Itβs a good combination, react-three-fiber expresses three in react, react-three-next makes for a good starting template for common issues like persisting canvas between routes. And Vercel is funding both pmndrs and r3f.
-
Using threejs server side?
The team at r3f are doing killer work. Check out this repo for a way to do SSR with their react renderer. https://github.com/pmndrs/react-three-next
-
SSR for ThreeJS? Is there any way to make threejs performant?
you could also check out https://github.com/pmndrs/react-three-next which is a nextjs starter. it gives you almost 100% lighthouse, and it has all these little tricks inbuilt.
-
Three.js works on localhost but not live on my Next.js website
Also check out https://github.com/pmndrs/react-three-next uses react three fiber, which is awesome.
use-animation
-
High Performance 3D Animation with React + rxjs
If you want to go deeper again then check out the project README and samsarajs. I'd like to try @most/core instead of rxjs here since it boasts impressive performance[ref]. To me, this seems like a promising area for further investigation. I've begun to experiment with a similar approach in Unity3d, hopefully more to report soon!
What are some alternatives?
react-spline - A wrapper to painlessly integrate Spline projects into your React code-space. β
react-three-fiber - π¨π A React renderer for Three.js
react-three-arjs - AR.js with react-three-fiber
framer/motion - Open source, production-ready animation and gesture library for React
react-xr - π€³ VR/AR with react-three-fiber
Most.js - Ultra-high performance reactive programming
portfolio-22 - My 2022 Portfolio
Stripe - PHP library for the Stripe API.
drei - π useful helpers for react-three-fiber [Moved to: https://github.com/pmndrs/drei]
easings.net - Easing Functions Cheat Sheet
you-are-online - A react-three-fibre website with shaders, animated camera transitions and an animated model.
react-spring - βοΈ A spring physics based React animation library