0.0.5 • Published 8 months ago

r3f-robot v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

r3f-robot

Installation

npm install

Linting

eslint is disabled for most components, because eslint can't handle non-standard attribute for elements with lowercase names:

<group ref={groupRef} position={[0, 0, 0]}>

But this a convention of react-three-fiber. It's disabled like this at the top of a tsx file:

/* eslint-disable */
import React, { useEffect, useRef, useState } from 'react'
...

You can run prettier and lint like so:

npm run prettier
npm run lint

Testing

npm run test

Production build

npm run build