tiendung243 / learning_reactjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

learning_reactjs

npx create-react-app app-name khi thay doi state thi component do se load lai tương tác giữa các component con với cha: khi component con thực hiện hành động mà muốn component cha thay đổi state thì có thể dùng props của component con gán cho 1 function của component cha, do đó component con có thể gọi function của component cha thông qua props của nó.

About


Languages

Language:JavaScript 99.0%Language:HTML 0.6%Language:CSS 0.4%