Skip to content

Instantly share code, notes, and snippets.

@muslemomar
Created May 30, 2023 12:28
Show Gist options
  • Save muslemomar/0527dd045abed3755421ce86af553437 to your computer and use it in GitHub Desktop.
Save muslemomar/0527dd045abed3755421ce86af553437 to your computer and use it in GitHub Desktop.

React Introduction Discussion

After seeing the code along and doing your first lab, discuss these ideas with your friends:

  1. From your understanding, what is React?
  2. What concept stood out to you about React?
  3. How different is coding React apps from coding with pure JS?
  4. What benefits do you anticipate from using React?
  5. How would React help you towards having a more structured project management experience?

After discussing this, one member of the team should write down what the group reached in the comment sections.

@zainabaaj
Copy link

1- it's a javascript framework to develop web apps where it makes the connection and linking to database easier
2- just like any other framework but it's javascript so i would prefer it
3- more organized
4- virtual DOM
5- the components consept

@Maral-Kepenekli
Copy link

ROOM 3

  1. what is React?
    React is an open-source JavaScript library for building user interfaces. It was developed by Facebook and is widely used for creating interactive web applications. React follows a component-based architecture, which means that the user interface is divided into reusable and self-contained components.

  2. What concept stood out to you about React?
    the virtual DOM.

The virtual DOM is a representation of the actual DOM (Document Object Model) in memory. When changes occur in a React component, instead of directly manipulating the real DOM, React first updates the virtual DOM to reflect those changes. React then compares the updated virtual DOM with the previous version to determine the minimal set of changes needed to be made to the real DOM. This process is known as "reconciliation."

The component-based architecture and virtual DOM are key concepts that stand out in React.

  1. How different is coding React apps from coding with pure JS?
    Coding React apps differs from coding with pure JavaScript in several ways:

Component-based architecture: React organizes the UI into reusable components, making it easier to manage complex interfaces.

Virtual DOM: React uses a lightweight copy of the DOM in memory to efficiently update the actual DOM, improving performance.

JSX syntax: React introduces JSX, allowing HTML-like syntax within JavaScript for defining UI elements.

Reactive updates: React automatically updates components when their data or state changes, reducing manual UI manipulation.

Ecosystem and tooling: React has a rich ecosystem with libraries and tools specifically designed for UI development.

  1. What benefits do you anticipate from using React?

Using React offers several benefits for web development:

Improved performance: React's virtual DOM and efficient diffing algorithm enable optimized updates to the actual DOM, resulting in faster rendering and a smoother user experience.

Component reusability: React promotes a modular approach, allowing developers to create reusable UI components. This reduces code duplication, enhances maintainability, and speeds up development.

Declarative syntax: React's JSX syntax enables a more intuitive and declarative way of describing UI components. This makes the code easier to read, understand, and maintain.

Efficient updates: React's reactive updates ensure that only the necessary components are re-rendered when there are changes in the data or state. This minimizes unnecessary updates, leading to better performance.

  1. How would React help you towards having a more structured project management experience?

@vuslatsena
Copy link

Room 1
1-React is a open source front end library
2-Virtual DOM, Props in JSX
3-Performance and optimization, we can use Virtual DOM as a bonus while in JS we use only DOM
4-Component based, performance and optimization, an Virtual DOM 5-React has a based component architecture, reusability and scalability and modularity and maintainability of project management exprience

@Izdiharomer
Copy link

  1. what is React? React is a JavaScript library for building user interfaces. It helps you create reusable components and efficiently update the user interface when things change. It's great for building interactive web applications.

  2. What concept stood out to you about React? The concept that stands out about React is its component-based architecture, where the user interface is broken down into small, reusable pieces called components. This approach promotes code reusability, modularity, and makes it easier to manage and update the UI

  3. How different is coding React apps from coding with pure JS? Is React better than pure JS?
    React provides good maintenance services for keeping the application running quickly and dynamically, compared to Javascript. Developers can easily maintain and update web applications using react reusable components and virtualDOM, making it superior to plain Javascript for ecommerce.

  4. What benefits do you anticipate from using React?
    Key benefits of react js for front-end development
    Speed.
    Flexibility.
    Performance.
    Usability.
    Reusable components.
    It's easy to learn.
    It helps to build rich user interfaces.
    It allows writing custom components.

  5. How would React help you towards having a more structured project management experience?
    React helps provide a more structured project management experience by enforcing component-based architecture, which facilitates modularization and reusability of code. This structure allows for easier organization, maintenance, and collaboration within a project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment