Need advice about which tool to choose?Ask the StackShare community!


+ 1

+ 1

+ 1
Decisions about Flight, Preact, and Riot

Preact offers an API which is extremely similar to React's for less than 10% of its size (and createElement is renamed to h, which makes the overall bundle a lot smaller). Although it is less compatible with other libraries than the latter (and its ecosystem is nowhere as developed), this is generally not a problem as Preact exposes the preact/compat API, which can be used as an alias both for React and ReactDOM and allows for the use of libraries which would otherwise just be compatible with React.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Flight
Pros of Preact
Pros of Riot
    Be the first to leave a pro
    • 13
    • 4
      Drop-in replacement for React
    • 3
      Props/state passed to render
    • 3
    • 1
      ES6 class components
    • 13
      Its just easy... no training wheels needed
    • 13
      Light weight. Fast. Clear
    • 11
      Very simple, fast
    • 9
    • 6
    • 4
      Great documentation
    • 4
      Simpler semantics than other frameworks
    • 3
      Easier than playing Teemo
    • 2
      Great engineering
    • 2
      Light, flexible and library friendly
    • 1
      Mastered under an hour

    Sign up to add or upvote prosMake informed product decisions

    Cons of Flight
    Cons of Preact
    Cons of Riot
      Be the first to leave a con
        Be the first to leave a con
        • 1
          Smaller community

        Sign up to add or upvote consMake informed product decisions

        What is Flight?

        Flight is distinct from existing frameworks in that it doesn't prescribe or provide any particular approach to rendering or providing data to a web application. It's agnostic to how requests are routed, which templating language you use or even if you render your HTML on the client or the server. While some web frameworks encourage developers to arrange their code around a prescribed model layer, Flight is organized around the existing DOM model with functionality mapped directly to DOM nodes.

        What is Preact?

        Preact is an attempt to recreate the core value proposition of React (or similar libraries like Mithril) using as little code as possible, with first-class support for ES2015. Currently the library is around 3kb (minified & gzipped).

        What is Riot?

        Riot brings custom tags to all browsers. Think React + Polymer but with enjoyable syntax and a small learning curve.

        Need advice about which tool to choose?Ask the StackShare community!

        What companies use Flight?
        What companies use Preact?
        What companies use Riot?

        Sign up to get full access to all the companiesMake informed product decisions

        What tools integrate with Flight?
        What tools integrate with Preact?
        What tools integrate with Riot?
          No integrations found

          Sign up to get full access to all the tool integrationsMake informed product decisions

          Blog Posts

          What are some alternatives to Flight, Preact, and Riot?
          jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
          Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
          AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
          It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
          jQuery UI
          Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.
          See all alternatives