Hacker News new | ask | show | jobs
by afloatboat 1763 days ago
Ah, right. But the mesh useRef is not wat is being rendered, the `mesh` component is more like rendering a div. If you open the sandbox and remove the useRef mesh and references it will still work.

Pretty confusing though, would have been better to call it `meshRef`. I also expected these components to be capitalised, but it probably makes sense in the way that in the dom renderer default components are lowercase as well.

1 comments

yeah imo simply changing the variable name of the ref would go a long way, here.