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

Ch4 Ch5 關於stateless component的小疑問 #115

Open
Dennnnny opened this issue Mar 7, 2020 · 0 comments
Open

Ch4 Ch5 關於stateless component的小疑問 #115

Dennnnny opened this issue Mar 7, 2020 · 0 comments

Comments

@Dennnnny
Copy link

Dennnnny commented Mar 7, 2020

各位前輩好~
我正開始學習react 有個小疑問
由於react 16.8之後 可以使用hook了 (useState / useEffect .... )
這樣子的話 不論 state or stateless component 都可以用funciotn的方式寫會比較好呢?
先謝謝各位回答的前輩了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant