skip to Main Content

Reactjs – Embedding Spline design into React

I keep getting this error: Cannot read properties of undefined (reading 'A') TypeError: Cannot read properties of undefined (reading 'A') at ue (http://localhost:3000/static/js/bundle.js:49456:19) at xe (http://localhost:3000/static/js/bundle.js:49586:36) at Object.or [as jsx] (http://localhost:3000/static/js/bundle.js:49532:16) at http://localhost:3000/static/js/bundle.js:49909:32 at renderWithHooks (http://localhost:3000/static/js/bundle.js:24280:22) at updateForwardRef (http://localhost:3000/static/js/bundle.js:27529:24) at…

VIEW QUESTION

Reactjs – onMouseDown is not working in Spline-react

import Spline from '@splinetool/react-spline'; import { useRef } from 'react'; export default function App() { function onLoad(spline) { const obj = spline.findObjectByName('Clink'); // console.log(spline.style) spline.style = {width:"100vw"} // spline.camera.position.z = 0 // spline.canvas.width = "1920px" // let can = Object.keys(spline.canvas)…

VIEW QUESTION
Back To Top
Search