Gatsby, React-Three-Fiber persistent canvas accross pages?

Hmm… Gatsby Pages have seperate files, index.js for index.html … about.js for /about… and so on.

Would the route element work just the same way in my Layout.js?