Live data from Hacker News

Rax – A universal React-compatible render engine

github.com

1–10 of 42 posts

Re: Rax – A universal React-compatible render engine

#10
post #8

their repo is full of slightly adapted other packages. If they are 100% React compat, why would they need rax-redux? :-S

On the surface, the rax-redux implementation appears to be a lot simpler. For example, react-redux's connect spans all these files https://github.com/reactjs/react-redux/tree/75658dab18f7fe3e... and includes "connectAdvanced": https://github.com/reactjs/react-redux/blob/75658dab18f7fe3e...

While the rax-redux equivalent seems to be contained in a single file:

https://github.com/alibaba/rax/blob/07e20908e4e17b182873db09...

The simpler implementation might indicate that the rax developers are trimming overcomplicated bloat, or culling features that don't align with specific needs of Alibaba. Or maybe they're just removing code they don't yet understand the necessity for. It's not immediately clear what tradeoffs each are making, but having rax audit what's really necessary could be a good thing for everyone.

Post reply on HN