- What problems does React aim to solve?
- How might React differ from other JavaScript frameworks or libraries you've heard of?
- How might building an application with components be advantageous?
- How does React's Virtual DOM differ from the actual DOM, and why might this be beneficial?
- How does JSX combine JavaScript and HTML-like markup?
- How does a traditional website differ from a Single Page Application?
- Why might developers choose to build an SPA using React?
- How might an application's data or user interface be affected by changes over time?
- How do you think React manages this dynamic data?
Created
October 12, 2023 13:36
-
-
Save halitbatur/5e6f50609b99f87964f9af510a5d8a70 to your computer and use it in GitHub Desktop.
React Discussion Questions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1- React is a popular JavaScript library for building user interfaces, and it aims to solve several problems related to building complex and interactive web applications. Some of the problems that React addresses include Complex UIs, Virtual DOM, and State Management.
2- i- Declarative approach: This can make it easier to understand and reason about your code, as you don’t have to worry about the underlying implementation details. ii- Virtual DOM: This can make React apps faster, reducing the number of DOM manipulation operations needed.
3- Reuseable: you can use the same component in multiple application parts or even across different projects.
Modularity: A complex user interface can be divided into smaller components making it easier to understand and maintain.
4- Actual DOM: Direct Manipulation: When you change any part of the actual DOM, the browser has to re-render the entire page, which can be slow and resource-intensive.
Virtual DOM: Indirect Representation: When changes are made in a React application, they are first applied to the Virtual DOM, not the actual DOM.
9-React manages dynamic data using a virtual DOM. When data changes, React calculates the minimum necessary updates and re-renders only the parts of the user interface that need to change.