Unable to update JSX attribute based on URL parameter in a Gatsby app running in production
问题 In production mode, a URL parameter value can not be used to render dynamic attribute values. The same URL parameter value can be used to render a specific component. I have set up a repo with a minimum reproducible example. https://github.com/mikepuglisi/gatsby-dynamic-attribute-bug We've been able to work around this by storing the parameter values in state, but I don't see why that should be necessary (especially since it renders the correct div). Relevant Code (src/pages/index.js) const