1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 12:40:03 +02:00

chore: add resource under react:components:props-vs-state

This commit is contained in:
Kamran Ahmed
2023-06-05 21:16:59 +01:00
parent 16b3f8ff49
commit 5cf0e76765

View File

@@ -4,8 +4,7 @@ Props (short for “properties”) and state are both plain JavaScript objects.
Visit the following resources to learn more:
- [Component State](https://reactjs.org/docs/faq-state.html)
- [State: A Component's Memory](https://react.dev/learn/state-a-components-memory)
- [How to use Props in React](https://www.robinwieruch.de/react-pass-props-to-component/)
- [What is the difference between state and props in React?](https://stackoverflow.com/questions/27991366/what-is-the-difference-between-state-and-props-in-react)
- [How to update state from props in React](https://www.robinwieruch.de/react-derive-state-props/)
- [Putting props to useState](https://tkdodo.eu/blog/putting-props-to-use-state)
- [How to update state from props in React](https://www.robinwieruch.de/react-derive-state-props/)