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

feat/devops-roadmap
Kamran Ahmed 1 year ago
parent 16b3f8ff49
commit 5cf0e76765
  1. 5
      src/data/roadmaps/react/content/102-components/103-props-vs-state.md

@ -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/)
Loading…
Cancel
Save