I have created a Gatsby app and configured gatsby-node.js to a create client only paths, which are all working fine in development while directly accessing the
Then I created a new loading.js file under /page. With this configuration, Firebase first responds with loading.html then Gatsby handles the client routing.