Get Advice Icon

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

Preact
Preact

62
70
+ 1
19
winjs
winjs

9
23
+ 1
0
Add tool

Preact vs winjs: What are the differences?

Preact: A fast 3k React alternative. 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); winjs: A UI toolkit for modern browsers, by Microsoft. WinJS is a set of JavaScript toolkits that allow developers to build applications using HTML/JS/CSS technology forged with the following principles in mind: 1. Provide developers with a distinctive set of UI controls with high polish and performance with fundamental support for touch, mouse, keyboard and accessibility 2. Provide developers with a cohesive set of components and utilities to build the scaffolding and infrastructure of their applications'.

Preact and winjs can be primarily classified as "Javascript UI Libraries" tools.

Preact and winjs are both open source tools. It seems that Preact with 23.1K GitHub stars and 1.2K forks on GitHub has more adoption than winjs with 4.07K GitHub stars and 504 GitHub forks.

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 winjs?

WinJS is a set of JavaScript toolkits that allow developers to build applications using HTML/JS/CSS technology forged with the following principles in mind: 1. Provide developers with a distinctive set of UI controls with high polish and performance with fundamental support for touch, mouse, keyboard and accessibility. 2. Provide developers with a cohesive set of components and utilities to build the scaffolding and infrastructure of their applications'
Get Advice Icon

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

Why do developers choose Preact?
Why do developers choose winjs?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Preact?
      What companies use winjs?

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

      What tools integrate with Preact?
      What tools integrate with winjs?
        No integrations found

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

        What are some alternatives to Preact and winjs?
        React
        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.
        Inferno
        Inferno is an isomorphic library for building high-performance user interfaces, which is crucial when targeting mobile devices. Unlike typical virtual DOM libraries like React, Mithril, Virtual-dom, Snabbdom and Om, Inferno uses techniques to separate static and dynamic content. This allows Inferno to only "diff" renders that have dynamic values.
        Glimmer
        Glimmer is one of the fastest DOM rendering engines, delivering exceptional performance for initial renders as well as updates.
        Mithril
        Mithril is around 12kb gzipped thanks to its small, focused, API. It provides a templating engine with a virtual DOM diff implementation for performant rendering, utilities for high-level modelling via functional composition, as well as support for routing and componentization.
        jQuery
        jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
        See all alternatives
        Decisions about Preact and winjs
        Dmitry Mukhin
        Dmitry Mukhin
        at Uploadcare | 22 upvotes 154.1K views
        atUploadcareUploadcare
        PostCSS
        PostCSS
        Preact
        Preact
        Ember.js
        Ember.js
        React
        React
        Python
        Python
        Django
        Django

        Simple controls over complex technologies, as we put it, wouldn't be possible without neat UIs for our user areas including start page, dashboard, settings, and docs.

        Initially, there was Django. Back in 2011, considering our Python-centric approach, that was the best choice. Later, we realized we needed to iterate on our website more quickly. And this led us to detaching Django from our front end. That was when we decided to build an SPA.

        For building user interfaces, we're currently using React as it provided the fastest rendering back when we were building our toolkit. It鈥檚 worth mentioning Uploadcare is not a front-end-focused SPA: we aren鈥檛 running at high levels of complexity. If it were, we鈥檇 go with Ember.js.

        However, there's a chance we will shift to the faster Preact, with its motto of using as little code as possible, and because it makes more use of browser APIs. One of our future tasks for our front end is to configure our Webpack bundler to split up the code for different site sections. For styles, we use PostCSS along with its plugins such as cssnano which minifies all the code.

        All that allows us to provide a great user experience and quickly implement changes where they are needed with as little code as possible.

        See more
        Riderman De Sousa Barbosa
        Riderman De Sousa Barbosa
        Front-end Developer | 5 upvotes 7.8K views
        atmeve.aimeve.ai
        React
        React
        Preact
        Preact

        The first and most important premise is that should be fast.. really fast. This premise was basically because this is an PWA project, and the main goal of this project are be more efficient on restaurant.

        So I ended up choosing Preact instead React .

        This made the app (PWA) more faster, not only when navigating but improve TTI and data usage.

        See more
        Interest over time
        Reviews of Preact and winjs
        No reviews found
        How developers use Preact and winjs
        No items found
        How much does Preact cost?
        How much does winjs cost?
        Pricing unavailable
        Pricing unavailable
        News about Preact
        More news
        News about winjs
        More news