preactjs/preact
View on GitHub ↗ ★ 38,974 JavaScript
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
52 mentions on Hacker News by 50 people: 14 stories, 38 comments · first 2015-12-04 · latest 2024-04-01
20082026
-
…be used by any other reactive framework. I often see SignalLike<T> type that tries to subtype it. https://github.com/preactjs/preact/blob/757746a915d186a90954...
comment by ivanjermakov · 2024-04-01 · in A proposal to add signals to JavaScript -
How does this compare with https://github.com/preactjs/preact ?
comment by cbrgr · 2023-11-07 · in Show HN: Cami.js – A no build, web component based reactive framework -
…in react works I actually look into how it's implemented in preact. Hooks is around 500 LOC. https://github.com/preactjs/preact/blob/master/hooks/src/ind... React does basically the same, just in a more complex way (because fiber and…
comment by nedt · 2023-03-20 · in Introducing react.dev -
…is a TODO pointing to [1] which was merged in 10.10.3, so hopefully that can be fixed soon? [1] https://github.com/preactjs/preact/pull/3671
comment by skybrian · 2022-09-07 · in Preact Signals -
…fewish dependencies, unambitious UX. We built it with preact[0], snowpack[1], and taste[2]. 0. https://github.com/preactjs/preact 1. https://github.com/FredKSchott/snowpack 2. https://github.com/benchristel/taste
comment by gavmor · 2022-07-12 · in Show HN: Druthers, Multiplayer Decision-Making -
…simpler than react (~3KB), and whats weird, it's also faster BTW: code is very easy to read/follow https://github.com/preactjs/preact/
comment by cztomsik · 2021-09-24 · in Reactive Clojure: A web language -
Preact is React without the fluff - https://github.com/preactjs/preact loc in a node project is hard to judge due to packages and the aforementioned mono repo difference, but the preact functional build artefact is an order of magnitude…
comment by mhio · 2021-09-24 · in Reactive Clojure: A web language -
> another one Preact [0] came before Vue [1]. [0] https://github.com/preactjs/preact/commits/master?after=605b... [1] https://github.com/vuejs/vue/commits/dev?after=5255841aaff44...
comment by junon · 2021-03-03 · in jQuery 3.6.0 -
…team to focus their efforts on react implementation that is not under FB influence like Preact ( https://github.com/preactjs/preact )
comment by nikivi · 2020-06-04 · in Dan Abramov exploring options outside Facebook -
…idea where this is implemented in React, but in Preact it's a simple integer that is incremented: https://github.com/preactjs/preact/blob/abc162c4d6442d5495f6... I think there are other ways to implement them, such as treating the return…
comment by ratww · 2019-12-13 · in Thinking in React Hooks -
There is also Preact which is a 3kb alternative to React with a similar API. https://github.com/developit/preact/ Disclaimer: I'm one of the maintainers.
comment by mhagemeister · 2019-06-15 · in JavaScript Is the CO2 of the Web [audio] -
…et al. so large will eventually make their way upstream and be codified as browser specs. [1] https://github.com/developit/preact
comment by tomnipotent · 2018-08-25 · in The Origin of Stimulus JavaScript Framework -
…no React Native to worry about. 4. Less invariants, error handling, and error messages [1] https://github.com/developit/preact/blob/master/src/constant... [2] https://github.com/facebook/react/blob/master/src/renderers/... [3]…
comment by krirken · 2017-08-21 · in Preact : a smaller, faster React alternative -
…that'd multiply the size of the codebase by fifteen... So what's the deal? How so small? [1] ( https://github.com/developit/preact/wiki/Differences-to-Reac... )
comment by outsidetheparty · 2017-08-21 · in Preact : a smaller, faster React alternative -
Alternatively there's this: https://github.com/developit/preact Preact is a fast 3kB alternative to React, with the same ES2015 API as that of React. Preact is MIT licensed and does not have any additional conditions beyond that.
comment by unkown-unknowns · 2017-08-19 · in Explaining React's license -
+1 on this. I'm going for Preact ( https://github.com/developit/preact ) for React alternative.
comment by devdoomari · 2017-08-19 · in Explaining React's license -
Indeed, preact [1] and and inferno [2] are both MIT Licensed. [1] https://github.com/developit/preact/blob/master/LICENSE [2] https://github.com/infernojs/inferno/blob/master/LICENSE.md
comment by krirken · 2017-08-19 · in Explaining React's license -
…your aversion is to the React license, but a similar project - Preact - uses an MIT license: https://github.com/developit/preact NOTE: not affiliated with Preact (I live in the caves of the backend).
comment by joshmarlow · 2017-07-20 · in Things to learn in React before using Redux -
https://github.com/developit/preact/issues - would you mind logging them as issues?
comment by mosen · 2017-07-19 · in Apache Foundation disallows use of the Facebook “BSD+Patent” license -
…[preact] which is an almost drop-in replacement, but smaller, and is under MIT license. [preact]: https://github.com/developit/preact/
comment by nine_k · 2017-07-16 · in Apache Foundation disallows use of the Facebook “BSD+Patent” license -
You might like Preact: https://github.com/developit/preact It's a 3kb React alternative with the same API.
comment by stephenboyd · 2017-07-02 · in React, Relay and GraphQL: Under the Hood of the Times Website Redesign -
Don't forget about others, such as Preact [1] [1] https://github.com/developit/preact
comment by amelius · 2017-06-18 · in Will Vue.js become a giant like Angular or React? -
…is a concern, maybe you could just use something like preact as a drop-in replacement for react? https://github.com/developit/preact
comment by peller · 2017-04-24 · in A response to “An experienced JavaScript dev’s account of learning React” -
…to know [and is not addressed] is why someone would use this over Preact [1] or Inferno [2]? [1] https://github.com/developit/preact [2] https://github.com/infernojs/inferno
comment by leeoniya · 2017-03-29 · in Show HN: FuelDOM – A React-compatible virtual DOM implementation -
…more lightweight and even has a compatibility layer for the few react packages that need it. [1]: https://github.com/developit/preact
comment by neikos · 2017-02-07 · in Our long term plan to make GitLab as fast as possible with Vue and Webpack -
Interesting that they don't compare it to preact: https://github.com/developit/preact
comment by swrobel · 2017-01-13 · in Rax – A universal React-compatible render engine -
…4: https://facebook.github.io/react/contributing/codebase-overv... 5: https://github.com/developit/preact 6: https://github.com/rails/rails 7: https://github.com/rails/rails/tree/master/activejob
comment by mhink · 2016-12-19 · in One Way to Improve Your Coding -
Preact Issue #417 - Do virtual DOM diffing on web worker? [1] [1] https://github.com/developit/preact/issues/417
comment by krirken · 2016-12-05 · in Preact rendering in a web worker -
…going from version 1 to version 2. It's not like the new framework[1] that's replaced React. /s 1: https://github.com/developit/preact
comment by spinlock · 2016-06-06 · in Angular Material 1 will enter a maintenance mode -
Look into preact + buble ES2015 compiler then, should be small enough https://github.com/developit/preact https://gitlab.com/Rich-Harris/buble my app.min.js.gz is 6.2K for some basic stuff including preact-router…
comment by xaduha · 2016-06-05 · in Inferno: A fast, React-like JavaScript library for building UIs -
…an alternative solution is easy to adopt without too many changes." Sound for me like preact ( https://github.com/developit/preact )
comment by Ghostium · 2016-06-04 · in Inferno: A fast, React-like JavaScript library for building UIs -
Would it be possible to split those libraries in smaller modules? For example Preact ( https://github.com/developit/preact ) has the same basic API of React but it's just 3kb because a lot of features are stripped away in optional modules.…
comment by mattecapu · 2016-04-08 · in React v15.0 -
…immutable data) is a big win. That said, I've been tinkering with this project on the side: https://github.com/developit/preact It's a 3-4K React-ish library. Pretty impressed with it so far, but it does lack the dev tools, event…
comment by christophilus · 2016-04-08 · in React v15.0 -
If you want the React semantic without the size, you can just use something like https://github.com/developit/preact (which is like 3kb once deployed). You also don't need JSX if you don't want to. Using React without JSX and just aliasing…
comment by shados · 2016-03-12 · in State of the Art JavaScript in 2016 -
…own ideas than forking an existing (mammoth) project. Btw, another "tiny react" implementation: https://github.com/developit/preact
comment by Yaggo · 2016-02-14 · in Show HN: My own tiny React-like rendering engine -
I've found this in the project wiki https://github.com/developit/preact/wiki/Browser-Support
comment by tjelen · 2016-01-29 · in Preact, a fast 3k React alternative -
Also property/attribute normalization. Preact: https://github.com/developit/preact/blob/master/src/preact.j... React: https://github.com/facebook/react/blob/3b96650e39ddda5ba4924...
comment by peterhunt · 2016-01-28 · in Preact, a fast 3k React alternative