aksonov / aksonov/react-native-mobx

Let me know how to integrate with react-intl

オープン
#15 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
224
フォーク
37
PR マージ指標
30日以内にマージされた PR はありません

説明

What I tried as below
```
class App_ extends Component {
render() {
return (


...


)
}
}

@inject( 'store' ) @observer
class ForIntlProvider extends Component {
render() {
return (



)
}
}

export default class App extends Component {
render() {
return (



)
}
}
```

But it was not successful. In order to use `react-intl`, `App_` should be wrapped by `IntlProvider` which needs mobx `store` as well.

Now `react-native-mobx` just uses `store` props in `Router` component.

What shall I do?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。