ReactJs: Reactjs is a single page open source javascript library developed by facebook which is designed specifically for building graphical user interfaces that allows users for interaction . Its approach is centered around components which are reusable across different components in an application
Angular
Angular is a TypeScript-based open-source platform and web application framework developed by a team from Google. The framework helps to create single-page applications using TypeScript and HTML.
Comparism
a) Similarities
1*. Architecture:* Both technologies are component-based architecture in which case UI elements are broken down into resusable components, making them endlessly recyclable
2. State Management: The both manage states of components with Reactjs using useStates and Angular using $scope
3. Event Handling: They both provide a way to user's interactions. This is done by using event handlers.
4. Open source: There are both open source, because of this, the have a very large and growing community that regularly enrich the resources.
5. Rendering: They provide efficient client-side and server-side rendering.
b) differences
1. Data binding: Angular supports a two way data binding while react promotes a one way data flow
2. Virtual DOM: React uses a virtual DOM while angular operates on the actual DOM
3. Dependencies: Angular relies on the AngularJs library while react can be use with other libraries like Redux for state management.
4. ES6 Support: React is often used with modern javascript, in other words react supports ES6 while Angular primarily uses ES5.
5. Purpose: Angular aims at developing dynamic web apps while react is aim at building interactive UI components
6. Language: Angular uses typeScript as a programming language while reactjs uses JavaScript (JSX script)
7. Front-end development approach: Angular extends the functionality of HTML, prefers client-side rendering while react uses XML-like syntax called JSX, slight preference for server-side rendering
My expectations for the HNG11 internship as a reactjs frontend Enthusiast
As a reactjs enthusiast who has been given the opportunity to explore the reactjs technology through the help of HNG11 internship, my expectations for this journey is as follows;
to explore javascript in reactjs as much as possible
Deep understanding in this technology
Be able to simplify complex interfaces by subdividing the into components.
How i feel about React
The fact that react utilizes components which are reusable I feel excited to find a solution to the heavy codes which at time slow the coding process especially with the case of bugs.
Top comments (0)