Gatsby Head API doesn’t react on context change #38488
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
I need to share a state between body and head. I’m trying to achieve it with context and Gatsby Head API, but Gatsby Head doesn’t seems to react on context changes. It reads the initial state correctly, but after the context is updated it doesn’t rerender.
Reproduction Link
https://codesandbox.io/p/sandbox/sad-hofstadter-vl7jl8?file=%2Fsrc%2Fpages%2Findex.js%3A22%2C38
Steps to Reproduce
head context: {contextValue}
) nor changes in "context-test" meta tagExpected Result
Head rerenders when context value changes.
Actual Result
Head doesn’t react on context value change.
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: