Hi. This might be a basic question, but I can't figure out what I'm missing.
I have enabled SSR. However, the following React component does not re-render when I refresh the page.
The equivalent astro component works through.
const nameQueryResult = Date.now();
export default function MyNameComponent() {
return <div>Hello {nameQueryResult}!</div>;
}
Seems like Astro is serving a static version of the component.
How can I make this component re-render on every request?
Thanks in advance!