Skip to content

Uncaught TypeError: subscribe is not a function at web.js of react-three-fiber at useEffect(() => { const unsubscribe = subscribe(ref, renderPriority); return () => unsubscribe(); }, [renderPriority]); #253

@Parjanya7

Description

@Parjanya7

Issue is, when I use useRender method on a reference of a , It does not render anything on page, page comes blank. When I remove the useRender method from the code, the page renders.

I dont get to know if the issue is of ref of react or is it the issue of useRender method.

I think, it is issue of react-three-fiber in web.js file, as it shows Uncaught TypeError: subscribe is not a function at web.js of react-three-fiber when I open console.

Please guide me through.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions