-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexpected cached result #85
Comments
Hmm? I don't know how it's happening... |
Thanks! I know what's happening. It's not about caching. So, for now, you need to define your App component like the following: const App = ({ name = "Anonymous" }) => ({ children }) => {
if (children) return children;
return (
<div style={{ border: "3px red dashed", margin: "1em", padding: "1em" }}>
<h1>Hello {name}!!</h1>
<h3>This is a server component.</h3>
</div>
);
};
export default App; |
#124 will improve about caching (= no cache). |
As I wasn't comfortable with caching, I made another change in #124. |
The text was updated successfully, but these errors were encountered: