alibaba / react-intl-universal

Internationalize React apps. Not only for Component but also for Vanilla JS.
1.33k stars 153 forks source link

[Discussion] intl-universal vs react-intl-universal #120

Open DongShi opened 5 years ago

DongShi commented 5 years ago

Hey there: You guys have done a good job, to push i18n work out of viewer, into a self-contained bundle compared to react-intl.

But apparently, this lib still depends on reactjs, (you guys provide getHTML method, etc). Why not make it a standalone and library agnostic package, so other library users can also benefit from your work?

Or maybe you could provide some build option to just build the "core" functionality for i18n, with no reactjs related part?

cwtuan commented 4 years ago

That's good idea. We will take it into consideration.