Skip to content
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

React.SFC deprecated #117

Open
onemen opened this issue Dec 30, 2018 · 1 comment
Open

React.SFC deprecated #117

onemen opened this issue Dec 30, 2018 · 1 comment
Labels

Comments

@onemen
Copy link
Contributor

onemen commented Dec 30, 2018

This message appears in vscode when hovering on React.SFC

@ deprecated
as of recent React versions, function components can no longer be considered 'stateless'. Please use FunctionComponent instead.

@ see — React Hooks

@benawad
Copy link
Owner

benawad commented Dec 31, 2018

I was wondering why SFC wasn't working well, I'll start using FunctionComponent

@benawad benawad added the todo label Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants