AngularJS VS Preact

Compare AngularJS vs Preact and see what are their differences.

AngularJS

AngularJS - HTML enhanced for web apps! (by angular)

Preact

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM. (by preactjs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
AngularJS Preact
46 111
59,496 36,041
- 0.6%
4.2 9.3
about 2 years ago 5 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

AngularJS

Posts with mentions or reviews of AngularJS. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-06.
  • Does anyone know the date each version of AngularJS was deprecated or where I can find that information? I queried ChatGPT but was hoping for confirmation if it was correct?
    1 project | /r/angularjs | 28 Jul 2023
    As an AI language model, my responses are generated based on a mixture of licensed data, data created by human trainers, and publicly available data. I do not have direct access to my training data or know where it came from. However, I was trained on a mixture of licensed data, data created by human trainers, and publicly available data.Regarding your request for source citations, I don't have direct access to external sources such as official documentation or websites. However, I can share that the information about the deprecation and end-of-life dates for each version of AngularJS can be found in the AngularJS repository on GitHub and in the official AngularJS blog and announcements.To find the specific dates of deprecation and end-of-life for each version of AngularJS, you can visit the AngularJS repository on GitHub (https://github.com/angular/angular.js) and check the commit history, release notes, or the project's issue tracker. Additionally, you can explore the official AngularJS blog (https://blog.angularjs.org/) for announcements and updates related to the deprecation and end-of-life process.Please keep in mind that the information I provided in my previous response was accurate up to September 2021, and there might have been updates or changes beyond that date. Always refer to the official sources and documentation for the most up-to-date information.
  • $routeProvider: templateUrl requests with X-Requested-With header
    1 project | /r/codehunter | 3 Jul 2023
    Update: https://github.com/angular/angular.js/issues/1004 - discussion where header was removed.
  • "I don't like Microsoft's programming languages, but TypeScript..."
    5 projects | /r/ProgrammerHumor | 6 Apr 2023
  • People like flutter more than react native. So why are there so few jobs?
    10 projects | /r/FlutterDev | 2 Dec 2022
    AngularJS (UI framework built in JavaScript): open (last commit: Apr 12 2022), unsupported Angular 2 to 12 (UI framework built in TypeScript): open, unsupported Angular 13 to 15 (UI framework built in TypeScript): open, supported until May 4 2023, Nov 11 2023 and May 18 2024 AngularDart (UI framework build in Dart): open (last commit: Oct 7 2021?, Today?), supported by community?, they say no Flutter 1: open (last commit: Mar 30 2022), unsupported Flutter 2: open (last commit: Apr 18 2022?), couldn't find if still supported, I assume unsupported Flutter 3: open (last commit: Today), supported
  • HTML5 Video is not working with AngularJS ng-src tag
    1 project | /r/codehunter | 13 Nov 2022
    Is this not supported in AngularJS, what is the workaround for this?
  • What is the deal with Decentraleyes in 2022? Is it outdated? Is it useless? Is it safe?
    2 projects | /r/firefox | 20 Aug 2022
    One example: The latest angularjs version is 1.8.3 but the most recent version on Decentraleyes is 1.6.5 (released on July 3rd, 2017)
  • AngularJS 1.8.3 Download
    1 project | /r/angularjs | 6 Jun 2022
  • DataTables: Custom Response Handling
    2 projects | /r/codehunter | 12 Apr 2022
    I started working on AngularJS and DataTables and wonder whether it is possible to customize the response DataTables is expecting. The current expectation of the DataTables plugin is something like this:
  • Angular vs React vs Vue
    2 projects | dev.to | 11 Apr 2022
    Huge Community: The framework has around 45k stars on Github and over 500.000 downloads on weekly basis from npm. The huge community ensures a variety of solutions for all the versions of AngularJS. The bigger the community more is the support from experienced developers and users.
  • Angular lazy one-time binding for expressions
    1 project | /r/codehunter | 11 Apr 2022
    AngularJS has a new feature since the version 1.3.0-beta.10: the "lazy one-time binding".

Preact

Posts with mentions or reviews of Preact. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-23.
  • Preact vs React: A Comparative Guide
    2 projects | dev.to | 23 Apr 2024
    In this post, we get to know more about Preact, one of this year's trending libraries. And we'll compare it to React to see which one suits better for our projects.
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    11 projects | dev.to | 5 Apr 2024
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…
  • Proposal: Signals as a Built-In Primitive of JavaScript
    9 projects | news.ycombinator.com | 31 Mar 2024
    Those who want to develop a library that can be used by any other reactive framework. I often see SignalLike type that tries to subtype it.

    https://github.com/preactjs/preact/blob/757746a915d186a90954...

  • Preact: Lightweight React Alternative
    1 project | dev.to | 27 Jan 2024
    The official Preact documentation.
  • How I built a cross-framework frontend library
    3 projects | dev.to | 17 Jan 2024
    At the very bottom of the image, there are 3 blocks that I chose to call application components. If you are building a cross-framework library, these can be built with whatever tools you want! Only catch is, all the tools you use to build it, will be needed by everyone consuming it. So choose wisely, and be mindful of how many kilobytes of third party code you will need in order to ship. In Schedule-X, I chose to use Preact. You will probably be fine with most lightweight virtual DOM libraries, and just like with frameworks there are a few to pick from.
  • React Jam just started, making a game in 13 days with React
    5 projects | news.ycombinator.com | 26 Dec 2023
    >> React is not traditionally used for making games, but that's part of the fun and the challenge. R

    > MS Flight Simulator cockpits are built with MSFS Avionics Framework which is React-like and MIT licensed:

    https://github.com/microsoft/msfs-avionics-mirror/tree/main/...

    preactjs may or may not be faster: https://preactjs.com/

    Million.js is faster than preact, and lists a number of references under Acknowledgements: https://github.com/aidenybai/million#acknowledgments

    https://million.dev/docs :

    > We use a novel approach to the virtual DOM called the block virtual DOM. You can read more on what the block virtual DOM is with Virtual DOM: Back in Block and how we make it happen in React with Behind the block().*

    React API reference > Components > Profiler:

  • Have You Built with Preact?
    1 project | news.ycombinator.com | 11 Dec 2023
  • Quando um framework é melhor que a manipulação nativa do DOM
    2 projects | dev.to | 9 Dec 2023
  • HTML Data Attributes: One of the Original State Management Libraries
    5 projects | dev.to | 29 Nov 2023
    DEV is a Rails monolith, which uses Preact in the front-end using islands architecture. The reason why I mention all this is that it's not a full-stack JavaScript application, and there is no state management library like Redux or Zustand in use. The data store, for the most part on the front end, is all data attributes.
  • Show HN: Cami.js – A No Build, Web Component Based Reactive Framework
    6 projects | news.ycombinator.com | 4 Nov 2023

What are some alternatives?

When comparing AngularJS and Preact you can also consider the following projects:

Stimulus - A modest JavaScript framework for the HTML you already have [Moved to: https://github.com/hotwired/stimulus]

react-18 - Workgroup for React 18 release.

React - The library for web and native user interfaces.

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

Svelte - Cybernetically enhanced web apps

solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.

donejs - Your app. Done.

lit - Lit is a simple library for building fast, lightweight web components.

dotenv - Loads environment variables from .env for nodejs projects.

riot - Simple and elegant component-based UI library

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core