Add resources for React (#3245)

* [Build] React Roadmap

1. Came across two other interesting topics related to props and state in react
2. Would like to suggest that we add these to the list as well as they highlight something important
3. One is from robinwieruch and the other from Dominik Dorfmeister (TkDodo)

* [Build] React Roadmap Contributions

1. Added one topic for Composition vs Inheritance
2. Added topics for Props vs State
3. Added topic for Render Props
pull/3259/head
Sricharan Krishnan 2 years ago committed by GitHub
parent f76f0ea1a6
commit 1f3bf761cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/roadmaps/react/content/102-components/103-props-vs-state.md
  2. 1
      src/roadmaps/react/content/102-components/105-composition-vs-inheritance.md
  3. 1
      src/roadmaps/react/content/103-rendering/102-render-props.md

@ -7,3 +7,5 @@ Visit the following resources to learn more:
- [Component State](https://reactjs.org/docs/faq-state.html) - [Component State](https://reactjs.org/docs/faq-state.html)
- [How to use Props in React](https://www.robinwieruch.de/react-pass-props-to-component/) - [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) - [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](href='https://www.robinwieruch.de/react-derive-state-props/)
- [Putting props to useState](https://tkdodo.eu/blog/putting-props-to-use-state)

@ -6,3 +6,4 @@ Visit the following resources to learn more:
- [Composition vs Inheritance](https://reactjs.org/docs/composition-vs-inheritance.html) - [Composition vs Inheritance](https://reactjs.org/docs/composition-vs-inheritance.html)
- [How to perform component composition in React](https://www.robinwieruch.de/react-component-composition/) - [How to perform component composition in React](https://www.robinwieruch.de/react-component-composition/)
- [Achieving Reusability With React Composition](https://formidable.com/blog/2021/react-composition/)

@ -8,3 +8,4 @@ Visit the following resources to learn more:
- [Render Props in React](https://reactjs.org/docs/render-props.html) - [Render Props in React](https://reactjs.org/docs/render-props.html)
- [How to create a Render Prop Component](https://www.robinwieruch.de/react-render-props/) - [How to create a Render Prop Component](https://www.robinwieruch.de/react-render-props/)
- [Render Props Pattern](https://www.patterns.dev/posts/render-props-pattern/)

Loading…
Cancel
Save