-
Notifications
You must be signed in to change notification settings - Fork 1
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
https://edu.duthanhduoc.com/learn/ReactJs-Super?lessonId=100 #106
Comments
list products có thể nhận props từ component cha nên không cần state chứ anh ? em thấy trong .md ghi list products nên là state |
Em đang nói ở component nào? Ví dụ Anh không hiểu câu |
sr anh em đọc hiểu sai ý câu này trong React learn nên em bị nhầm list
products trong component với cái mảng list products
1. The original list of products is passed in as props, so it’s not
state.
Vào Th 7, 22 thg 2, 2025 vào lúc 16:42 Dư Thanh Được <
***@***.***> đã viết:
… list products có thể nhận props từ component cha nên không cần state chứ
anh ? em thấy trong .md ghi list products nên là state
Em đang nói ở component nào? Ví dụ productListở component
FilterableProductTable nó là state, nhưng khi truyền xuống các component
con thông qua prop thì các component đó coi productList là prop.
Anh không hiểu câu list products có thể nhận props từ component cha nên
không cần state chứ anh của em, component cha ở đây là component nào em?
—
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEXJ6SZBIGFHRWD4Q7AV6C32RBBB5AVCNFSM6AAAAABXTNHCKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZWGEZDGMRVGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: duthanhduoc]*duthanhduoc* left a comment
(duocmmo/edu-comments#106)
<#106 (comment)>
list products có thể nhận props từ component cha nên không cần state chứ
anh ? em thấy trong .md ghi list products nên là state
Em đang nói ở component nào? Ví dụ productListở component
FilterableProductTable nó là state, nhưng khi truyền xuống các component
con thông qua prop thì các component đó coi productList là prop.
Anh không hiểu câu list products có thể nhận props từ component cha nên
không cần state chứ anh của em, component cha ở đây là component nào em?
—
Reply to this email directly, view it on GitHub
<#106 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEXJ6SZBIGFHRWD4Q7AV6C32RBBB5AVCNFSM6AAAAABXTNHCKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZWGEZDGMRVGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Khu vực học tập | Được Edu
Được chỉ cung cấp các khóa học lập trình online chất lượng, nói không với khóa lởm!
https://edu.duthanhduoc.com/learn/ReactJs-Super?lessonId=100
The text was updated successfully, but these errors were encountered: