top | item 17843502

(no title)

sdnguyen90 | 7 years ago

The runtime is not that big with 0.19 in my experience. I rewrote a (P)react component that was 5kb and Elm came out to be 6.8kb.

If you're comparing it to ReasonReact, you still have the React/ReactDOM Javascript dependency which is still ~30kb gzipped

discuss

order

PascalW|7 years ago

React is unfortunately quite big indeed. However you can actually replace React in ReasonReact with an API compatible alternative via Webpack.

I tried this a few weeks back and have to say that it only worked with Inferno.js though, not Preact (lack of React 16 feature support) nor Nerv.js.