cozy / cozy-ui

React components and CSS styles for Cozy apps
https://cozy.github.io/cozy-ui/react/
MIT License
48 stars 37 forks source link

Moving non-UI code bits away from this repo #656

Open Crash-- opened 6 years ago

Crash-- commented 6 years ago

The goal of this issue, is to list whatever needs to be moved in other repo :

Is there something else?

ptbrowne commented 6 years ago

I18n I am not sure, why ?

Crash-- commented 6 years ago

It has nothing to do with UI?

Having in our codebase import like import { translate } from 'cozy-ui/react/I18n' disturbs me

drazik commented 6 years ago

For the I18n part, it may be the subject of another issue, but do we really have specific needs that require a specific implementation around polyglot ? Why don't we just use something like react-polyglot ?

ptbrowne commented 6 years ago

but do we really have specific needs that require a specific implementation around polyglot ?

No, I don't think so. react-polyglot seems fine.