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

https://edu.duthanhduoc.com/learn/ReactJs-Super?lessonId=100 #106

Open
utterances-bot opened this issue Feb 21, 2025 · 3 comments
Open

https://edu.duthanhduoc.com/learn/ReactJs-Super?lessonId=100 #106

utterances-bot opened this issue Feb 21, 2025 · 3 comments

Comments

@utterances-bot
Copy link

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

Copy link

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

@duthanhduoc
Copy link
Contributor

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?

@anhsayshello
Copy link

anhsayshello commented Feb 24, 2025 via email

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

3 participants