goji-js icon indicating copy to clipboard operation
goji-js copied to clipboard

Alternative to React and React Reconciler

Open malash opened this issue 4 years ago • 2 comments

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.

malash avatar Aug 20 '20 14:08 malash