airbnb / goji-js

React ❤️ Mini Program
https://goji.js.org
MIT License
223 stars 26 forks source link

Alternative to React and React Reconciler #23

Open malash opened 4 years ago

malash commented 4 years ago

Since GojiJS is a React-based framework the react and react-reconciler became necessary dependencies that cost about 80kb of the main package size.

-rw-r--r-- 1 malash staff 6.6K Jun 23 12:48 node_modules/react/cjs/react.production.min.js
-rw-r--r-- 1 malash staff 74K Jun 20 16:21 node_modules/react-reconciler/cjs/react-reconciler.production.min.js

As we knew, there are several alternatives to React and React DOM from the opensource community, and some of them, for example, the Preact, can provide the almost same features within as less as 3kb.

This issue proposes to create a new package @goji/react to replace the React and React Reconciler while keeping the API compatibility.

nteasocial commented 5 days ago

hi. could i help with this issue/bug? i'd love to take it on.

malash commented 5 days ago

@nteasocial Of course, sure, PR is always welcomed.