2. React
Benefits
Time saving, quick development
More flexible, with that the more flex we get the more responsibility
Best for teams that are front end oriented and JavaScript experts
Used with vanilla JavaScript
Disadvantages
Not fully usable (at this moment) with TypeScript
Virtual DOM rendering, large scale app No matter what is changed in-state, render
functions will always generate new and complete virtual DOMs.
It is time-consuming and imprecise for the React framework to compare two versions of
DOMs.
3. Angular
Benefits
Advantage of using TypeScript
Using Angular instead of AngularJS
Well Established Design guide
Allows for cleaner code (We all have seen JavaScript hell code)
Organization of project and render structure > App / Core modules get rendered only once.
Services are singletons
Dependency Injection
Disadvantages
Learning Curve is steeper for new developers
4. Some Stats
React is more popular based on Google Trend searches.
Consider who’s using React:
• What type of workforce is entering the market
• Cost per job position open
6. Which framework is better? It depends!
Library Vs Framework
React is a library offering a ton of flexibility, a ton of a la carte
options
Angular is a full fledged web development framework, opinionated
framework offering best practices, more templated approach
Project complexity and reusability
Angular better for more complex projects, requiring robust tesing
React on larger scale Virtual DOM algorithm is time-consuming and
imprecise, virtual DOM and real DOM comparison calculation
expensive. Great to use on small scale or micro front ends
7. Conclusion
Why Angular in an Enterprise Environment
Angular is a web framework vs. React being an a la carte library
If the team has experience with C# - utilization of TypeScript
Offers for ready to use solutions, offers methodology to development
Out of the box templating
Angular CLI, quick templating for speed to market development
Angular has better testability
Cleaner, testable code
More maintainable
Large-scale feature-rich application