Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • React Tutorial
  • React Exercise
  • React Basic Concepts
  • React Components
  • React Props
  • React Hooks
  • React Router
  • React Advanced
  • React Examples
  • React Interview Questions
  • React Projects
  • Next.js Tutorial
  • React Bootstrap
  • React Material UI
  • React Ant Design
  • React Desktop
  • React Rebass
  • React Blueprint
  • JavaScript
  • Web Technology
Open In App
Next Article:
Difference between Angular and Aurelia
Next article icon

Difference between Preact and Angular

Last Updated : 07 Aug, 2020
Comments
Improve
Suggest changes
Like Article
Like
Report

Angular: Angular is the frontend framework that was developed by Google. It does help in the fast development of the applications and is based on the MVC framework. Angular is completely written in Typescript.

Features:

  • There is a two way binding in angular JS
  • Dependency injection and data binding reduce the amount of code to be written.
  • Service worker support is provided by angular.

Preact:  While Preact is the library that is used to develop the frontend or the user Interface. Preact is lightweight and 3kB in size, it is the alternative for reactJS having the same ES6 API.

Features:

  • It is a lightweight library for React JS
  • It provides most of the features of react JS and still is much small as compared to reactJS
  • It renders data quickly and much efficiently.

Difference between Preact and Angular:

Sr.No. Preact Angular
1. It is a lightweight alternativeReactJS. It is a complex framework for developing frontend applications.
2. It is written in JavaScript. It is completely based on Typescript single-page.
3. It is small in size of about 3kB and still offer the same React API for development purpose. While angular is a heavy MVC framework that is suitable for developing large applications.
4. It works with and updates the virtual DOM. It works with and updates the real DOM.
5. It is a Javascript library and lightweight alternative for ReactJS. It is the complex MVC framework used to develop single page applications.
6. It can be installed by npm install -g preact-cli It can be installed by npm install -g angular-cli
7. It’s an architecture based on the Document Object Model. It is architecture is based on the Model view controller.
8. Effective memory usage Memory used is larger as compared to preact.


Next Article
Difference between Angular and Aurelia

T

tarun007
Improve
Article Tags :
  • ReactJS
  • AngularJS-Misc

Similar Reads

  • Difference between Angular 5 and ReactJS
    1. Angular5 : Angular 5 is a later version of the AngularJS that came after Angular 4, developed by Google to help developers in creating apps fast, as it removed unnecessary codes. Angular 5 is more advanced and has its own set of features like build optimizer, compiler improvements, and code-shari
    2 min read
  • Difference Between React.js and Angular.js
    When it comes to building modern web applications, React.js and Angular.js are two of the most popular choices. Both are used in front-end development, but they differ significantly in terms of architecture, features, and usage. What is React.js?React.js is a declarative, efficient, and flexible Jav
    5 min read
  • Difference between Angular and Aurelia
    JavaScript's frameworks are one of the hottest topics to discuss when it comes to frontend development. These frameworks support the developer in component-based development and bind the data to the modern architecture of software development. Let us now discuss some differences between Angular and
    3 min read
  • Difference between Backbone.js and Angular.js
    AngularJS is considered to be more feature-packed and a more comprehensive arrangement to the client's needs (Upwork, iStockPhoto, Climate, PayPal are built with Precise), in spite of the fact that any Spine JS designer will tell that Spine contains a parcel of valuable highlights as well. Angular h
    8 min read
  • Difference between Template and TemplateURL in AngularJS
    As we know that, the @Component decorator is a function that accepts one object and that object has many properties. The major two important properties are template & template URL. There are various Method to create Templates in Angular The template is a part of a component that is used for the
    5 min read
  • Difference between ng-container and ng-template in AngularJS
    Both ng-container and ng-template can be used to create responsive and dynamic components. Angular provides a set of structural directives that can be used with both ng-template and ng-container such as: ng-ifng-forng-switch. These structural directives are used to alter the structure of the DOM by
    3 min read
  • Difference between declarations and entryComponents in AngularJS
    Declarations: These are the set of components, directives, and pipes (declares) that belong to the (this) module. These components are in the local scope (private visibility).Syntax:  declarations: Array<Type | any[]>The set of selectors (directives, components, pipes) are declared: that are a
    2 min read
  • What is the Difference between Constructor and ngOnInit in AngularJS ?
    Constructor: Constructor is the default method for a class that is created when a class is installed and ensures the proper execution of the roles in the class and its subsections. Angular are preferably the Dependency Injector (DI), analyzes the builder's components and when creating a new feature
    3 min read
  • What are the differences between an Annotation and a Decorator in Angular?
    Although Annotations and Decorators both share the same @ symbol in Angular, they both are different language features. Annotations: These are hard-coded language feature. Annotations are only metadata set on the class that is used to reflect the metadata library. When user annotates a class, the co
    3 min read
  • Interesting Facts and Features about AngularJS
    Let's take a ride through some interesting Facts or Features about AngularJS: 1. MVC Architecture MVC refers to Model View Architecture, a product example of developing applications. The model layer deals with information on the application. The view layer displays this information and the controlle
    4 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences