react-three-renderer-fiber
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

react-three-renderer-fiber

Build Status

Porting R3R to use React Fiber.

This is even more WIP than react-three-renderer itself! Literally unusable. The point of this repository is to play around with react fiber and ask questions to React team and others.

Notes:

  • Motivation was this tweet by Dan :)
  • Lin Clark's talk on fiber helped a lot!
  • Still needed some reverse engineering but not even close to the amount necessary for react-three-renderer.
  • It seems to be super fast (for this specific experiment, that does not mean that much though)
  • I   ❤️   fiber

Current state:

  • It's so minimal it only works with a few hardcoded components :D
  • TODO:
    • Remove hacks
    • Reuse / Port / rewrite existing internal components
    • Make an actual module package

Wanna play around?

  • Clone repository
  • > yarn
  • > cd examples && yarn && cd ..
  • > yarn start
  • Open http://localhost:8080/
  • Look at react devtools
  • Tweak code and break things!

Dependents (0)

Package Sidebar

Install

npm i react-three-renderer-fiber

Weekly Downloads

2

Version

0.0.6

License

MIT

Unpacked Size

963 kB

Total Files

429

Last publish

Collaborators

  • toxicfork