-
Notifications
You must be signed in to change notification settings - Fork 25
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
Functional components #60
Comments
What does your visitor function look like? |
|
@kitten I recreated the issue and you can see the full code here https://codesandbox.io/s/sweet-payne-xiik5?file=/server.tsx |
Ah I see; so basically So when you use function components, you'll have to use the first argument, |
Aha okey thank you! |
How do I add
fetchData
on Functional components? I get undefined on instance visitor function.This works.
but this doesnt
any clue why?
The text was updated successfully, but these errors were encountered: