What is React?
React (also known as React.js or Reactjs) is a Javascript Front-End Library for building user interfaces.
Why we use React?
The main objective of ReactJs is to develop User Interfaces (UI) that improves the speed of the apps, and React is used to build single-pages applications.
Who developed React?
It was initially developed and maintained by products like: Facebook, Instagram and WhatsApp apps.
Requirements Learn React:
- HTML.
- Css.
- JavaScript.
- OOPs Concepts.
- The knowledge of ES6 syntax can also be helful.
How does React work?
React allows us to create reusable UI components.
what are react design patterns?
Today, most of the websites are built using MVC (Model View Controller) architecture.
What is MVC?
MVC abbreviation for phrase Model View Controller:
- The Model component corresponds to all the data-related logic that the user works with, This can represent either the data that is being transferred between the view and Controller components or any other business logic-related data.
- The View component is used for all the UI logic of the application.
- Controllers act as an interface between Model and View components to process all the business logic and incoming requests, manipulate data using the Model component and interact with the Views to render the final output.
What are react component design patterns?
- HOC (Higher Order Component) pattern.
- Provider pattern.
- Hooks pattern.
- Presentational and Container Component pattern.
- Compound Component pattern.
- Conditional Rendering pattern.
How does react work with JSX?
In React you will work with JSN that looks like HTML and you can consider it like HTML-flavored JavaScript, It is the easiest way to add HTML code inside JavaScript or you can say it is the extension of the JavaScript Language syntax.
- JSX is faster compare normal JavaScript code.
- Using JSX you can create faster Application in React.
- JSX help easy to create UI templates.
- Using JSX you can be easy to handle your JS code and HTML code.
- JSX also allows React to Show more useful error and warning messages.
Post a Comment