When comparing Amber vs Preact, the Slant community recommends Preact for most people. In the question“What are the best JavaScript libraries for building a UI?” Preact is ranked 16th while Amber is ranked 19th. The most important reason people chose Preact is:
The size when gzipped is only 3kb, and performance is as good as (or even faster than) React itself.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Includes an IDE
Amber includes an integrated development environment with a class browser, workspace, transcript, object inspector and debugger.
Pro Smalltalk is a simple, elegant, and powerful language
Pro One-to-one JS equivalent
Amber is written in itself, including the parser and compiler, and compiles into efficient JavaScript, mapping one-to-one with the JS equivalent.
Pro Lightweight
The size when gzipped is only 3kb, and performance is as good as (or even faster than) React itself.
Pro Same API as react
Avoids having to learn an entire new paradigm, and makes it easy to switch between the two libraries later on.
Pro Lots of examples and libraries
They have a bunch of examples and addon libraries.
Pro Awesome CLI
Preact CLI gives you a perfect scoring PWA out-of-the-box with no configuration.
Cons
Con Very few learning resources
There are very little learning resources for Amber outside the official documentation. Which may not be enough for beginners, especially people that don't have much experience in programming.
Con Difficult to learn
You need to be good in React JS first to learn Preact. Documentation is not rich. And some of the examples given on site are not working. Developers are not much active on Stack Overflow as well.
