We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React.FunctionComponent or React.PureComponent in Section 2: Getting Started / Function Components?
React.FunctionComponent
React.PureComponent
const App: React.FunctionComponent<{ message: string }> = ({ message }) => <div>{message}</div>;
Shouldn't be there
const App: React.PureComponent<{ message: string }> = ({ message }) => <div>{message}</div>;
instead?
The text was updated successfully, but these errors were encountered:
Oh, my bad. React.FunctionComponent is correct of course.
Sorry, something went wrong.
still appreciate you filing the question. keep up your journey and file any other issues you find @webmato
No branches or pull requests
React.FunctionComponent
orReact.PureComponent
in Section 2: Getting Started / Function Components?Shouldn't be there
instead?
The text was updated successfully, but these errors were encountered: